This could be due to register globals on/off Use print $_POST['action']; print $_POST['Name']; Kenny -----Original Message----- From: Rinku [mailto:rinku_pgsql@xxxxxxxxx] Sent: 20 June 2004 12:23 To: php-db@xxxxxxxxxxxxx Subject: value error in PHP form Dear All, I have installed PHP on WinXp. I am using MySql as Backend on Apache server. Now the problem is...... I am writing this code : <html> <head> <title> </head> </title> <head> <body> <form name="frmname"> <input type="text" name="Name" value="Rinku"> <input type="submit" name="action" value="Login"> <? print $action; print $Name; ?> </form> </body> </html> Here I should get output as LoginRinku But I am getting nothing. Can any of you guide me on this........? Regards, Rinku --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php