RE: [PHP] [noob] can't submit simple form, need help
| From: | Jay Blanchard | Date: | Thu, 03 Mar 2005 22:11:07 +0000 |
| Subject: | RE: [PHP] [noob] can't submit simple form, need help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209949@lists.php.net to get a copy of this message | ||
[snip]
any idea why this simple peace of code is not working?
// code that will be executed if the form has been submitted:
$submit_post=$_REQUEST['submit'];
if ($submit_post=='yes')
[/snip]
Probably because $_REQUEST['submit'] !== 'yes'
print_r($_REQUEST); to see the array