Re: value error in PHP form

From: Date: Mon, 21 Jun 2004 13:54:46 +0000
Subject: Re: value error in PHP form
Groups: php.db 
Request: Send a blank email to php-db+get-34853@lists.php.net to get a copy of this message
>>Hi. You left out the 'php' after the '<?'. So it should read: Actually this is most likely a register_globals issue. try. $_GET['action'] or $_POST['action']. you'll only need to use <?php if short_tags = off in your php.ini. HTH Jeff <?php print $action; print $Name; ?> See if that helps any. ~Philip > <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> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#34853) next »