The variable is $_POST - PHP is case sensitive... Mikey
> -----Original Message----- > From: Wade [mailto:[EMAIL PROTECTED]] > Sent: 13 January 2003 16:31 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] initialize variables (was: Using the GET Method) > > > 01132003 0826 CST > > Ok. This code is right off the PHP.net site. I changed the > action="action.php" to action="form.php" only. > > But, when I run the page I receive "Hi . You are years old." Only. > Is this because I have global_variables turned off, even through Im > using $_post? > > Wade > > ********** > <html> > <head> > <title>PHP Form</title> > > <body> > > <form action="form.php" method="post"> > Your name: <input type="text" name="name" /> > Your age: <input type="text" name="age" /> > > <input type="submit"> > </form> > > </body> > </html> > > ************ > > <html> > <head> > <title>PHP Form</title> > > <body> > > Hi <?php echo $_post["name"];?>. > You are <?php echo $_post["age"];?> years old. > > </body> > </html> > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php