Empty form
| From: | Ben Clumeck | Date: | Fri, 15 Feb 2002 08:24:58 +0000 |
| Subject: | Empty form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84872@lists.php.net to get a copy of this message | ||
I am trying to have my form redirect back to my form, if the 'name' field is
not filled in or the submit button is not pushed. Can someone tell me what
my problem is with the script below that I have in my header:
<?
if(!isset($name)||($HTTP_POST_VARS[submit]))
{
header("Location: form.htm");
}
?>
Thanks,
Ben