Re: Determine if variable is set
| From: | Analysis & Solutions | Date: | Tue, 11 Jun 2002 14:25:01 +0000 |
| Subject: | Re: Determine if variable is set | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101554@lists.php.net to get a copy of this message | ||
On Tue, Jun 11, 2002 at 09:06:34AM -0400, J. Anderson Scarbrough wrote:
> possible to determine whether a variable is set with either $_POST or $GET
> without having to do:
>
> if(isset($_POST['foo']) || isset($_GET['foo']))
if ( isset($_REQUEST['foo']) ) {
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409