RE: [PHP] $_POST to function?
| From: | Jared Williams | Date: | Fri, 24 Feb 2006 17:20:09 +0000 |
| Subject: | RE: [PHP] $_POST to function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231034@lists.php.net to get a copy of this message | ||
>
> Why are you passing the POST array? As it's superglobal why
> not just work directly on it within the function?
>
Passing it has distinct advantages, like being able to test the function.
Jared