mattonedime Posted October 12, 2006 Share Posted October 12, 2006 Hello..I have a php script that uses <?php echo '<html> to display an entire HTML page.. Well on that HTML page I want to run <?php $_POST["value"]; ?> It seems like it ignores my "embedded" PHP commands.. I am pretty new to this, so any guidence would be great!And heres what I am doing..I have an online store that pulls information from a form, reports it to the customer(this is the step I am not able to get the $_POST results to show), then submits the information to the shopping cart.. This works like a charm if I run the PHP script as a standalone page, its when I try to embed it into the store (which is 100% php) that it stops working.THANKS!! Quote Link to comment Share on other sites More sharing options...
TEENFRONT Posted October 12, 2006 Share Posted October 12, 2006 why echo the entire html document? Only echo the php content.so..<html>blahs blah blah<? echo $value ?>blah blah blah more html stuff..</html>save page as .php Quote Link to comment Share on other sites More sharing options...
mattonedime Posted October 12, 2006 Author Share Posted October 12, 2006 See, sometimes it takes a simple answer! hahaha Thanks, I took out the ecapsulating <?php ehco ' and it works like a charm.. How did I miss that.. LOL Thanks!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.