Re: array question
| From: | @ Edwin | Date: | Wed, 30 Oct 2002 17:05:19 +0000 |
| Subject: | Re: array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122050@lists.php.net to get a copy of this message | ||
Hello,
"John Meyer" <johnmeyer_1978@yahoo.com> wrote:
> Either way, I'm not getting the interests.
>
...[snip]...
>
> When retrieving an array from $_POST, which is the right way:
>
> $arrInterests = $_POST["interests[]"];
>
> or
> $arrInterests = $_POST["interests"];
>
Try this instead:
$arrInterests = $_POST['interests'];
- E