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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to