checking $_POST variables
| From: | drparker | Date: | Fri, 14 Mar 2003 19:26:15 +0000 |
| Subject: | checking $_POST variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139755@lists.php.net to get a copy of this message | ||
I'm running this script to make sure all fields are filled in on a form:
foreach($_POST as $p)
{
if(!$p)
{
header("Location: signup.php?error=3");
exit();
}
}
But I need to exclude one field on the form from being checked -
Street2. How could I do this?