Hi Rinku, One problem I see is that the HTML tags appear to be off... Your HTML is improperly formatted, which could be causing rendering anomalies to occur, in addition to the register globals issue which I'll mention shortly. Please correct your HTML code to read: <html> <head> <title>YOUR_PAGE_TITLE_HERE</title> </head> <body> HTML_BODY_HERE </body> </html> Two, Like Kenny said, change the "register_globals = Off" directive in your PHP.ini file to " register_globals = On" so that variables are carried from your form values into your post-processing PHP print functions. Hope this helps, Best, -Zak On 6/20/04 4:34 AM, "Kenny" <kenny@xxxxxxxxxxxxx> wrote: > 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