At 22:04 20.02.2003, ML spoke out and said: --------------------[snip]-------------------- >the HTML: > <html> > <body> > <h1>Enter Your Name</h1> > <form action="simplephp.php" action="POST"> > <input type="text" size="20" maxlength="20" name="user_name"> > <input type="submit" value="Submit Your Name"> > </form> > </body> > </html> > >the PHP file: ><?php >echo "Your name is $name"; >?> > >I fill in my name, I click submit, and where the name should be displayed it >shows nothing. I have gone over this again and again and I just don't know >whats wrong. I also noticed that register globals was OFF so I just turned >that on, but still I have the same problem....any ideas? I really appreciate >any feedback. Thank you! --------------------[snip]--------------------
1) You shouldn't look for $name but rather for $user_name. 2) Most probably, register_globals is off at your host (see the online doc for this). Thus, you need to echo $_REQUEST['user_name']. HTH, -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php