Re: Form variables not working

From: Date: Sat, 16 Nov 2002 16:40:12 +0000
Subject: Re: Form variables not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124726@lists.php.net to get a copy of this message
Because it isn't? Instead of echoing $PHP_SELF, echo $_SERVER['PHP_SELF']. With the $_POST problem, it's complaining that you're using a variable that isn't defined. Use? <?php if(array_key_exists('formfieldnamegoeshere',$_POST)){ print $_POST['formfieldnamegoeshere']; } ?> Chris Jackson wrote:
Im an experianced ASP developer and im getting frustrated with PHP. why is it so dificult to do the simplest things in php? thanks
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#124726) next »