RE: [PHP] Variables don't pass... *sniff*
| From: | Wendell Brown | Date: | Thu, 29 May 2003 14:18:17 +0000 |
| Subject: | RE: [PHP] Variables don't pass... *sniff* | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149402@lists.php.net to get a copy of this message | ||
On Thu, 29 May 2003 10:33:16 +0100, Ford, Mike [LSS]
wrote:
>Well, how about references, then? (And me, personally, I'd use isset()
>rather than is_array().)
>
> if (isset($_POST)):
> $POST = &$_POST;
> else:
> $POST = &$HTTP_POST_VARS;
> endif;
I was told that PHP didn't do pointers - just goes to show that you
can't believe everything your told. Thanks for the POINTER. ;)