|
I have an html form posting to and writing a php page. The value is pulled using the post method. How do I put a posted value into the content that's posted into the new page? I cannot figure out how to bring the $webinfo7 variable into the new php page. Any help?
[php ]
$webinfo7=$_POST['Email'];.......
$content="
<?php
require(\"connectdb.inc.php\");
\$table=\"webpagetable\";
\$sql = \"SELECT * FROM webpagetable
WHERE Email = $webinfo7 \";
\$result = mysql_query(\$sql,\$connection) or die(\"Couldn't execute query.\");......
[/php ]
Thanks,
Matt
Last edited by weddingm; 05-07-2005 at 07:28 PM..
|