dandandan Posted September 11, 2006 Share Posted September 11, 2006 my code: (im leaving out things that dont matter, like the body and head tage, to save space)<form name="form" enctype="multipart/form-data" method="post" action="test.php"> <p>Your name: <input type="text" name="name"> <input type="submit" name="Submit" value="Submit"></form>and the code for test.php (the form action=test.php). im not including the html, only the php.<?phpprint("$name");?>now, for some reason, test.php will NOT print $name. I get no error message. just a blank page. here is is uploaded. http://wolfstudios-online.com/emailPLEASE HELP! Quote Link to comment Share on other sites More sharing options...
btherl Posted September 11, 2006 Share Posted September 11, 2006 Try print($_REQUEST['name']);You can also use $_POST['name'], since you are using a post form. Quote Link to comment Share on other sites More sharing options...
dandandan Posted September 11, 2006 Author Share Posted September 11, 2006 many thanks, it worked. 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.