Determine if variable is set
| From: | J. Anderson Scarbrough | Date: | Tue, 11 Jun 2002 13:06:34 +0000 |
| Subject: | Determine if variable is set | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101541@lists.php.net to get a copy of this message | ||
This is probably an easy answer, but I cannot seem to find it. Is it possible to determine whether a variable is set with either $_POST or $GET without having to do:
if(isset($_POST['foo']) || isset($_GET['foo']))
//do something_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx