Re: Array Push and Keys
| From: | David Otton | Date: | Fri, 29 Aug 2003 01:09:18 +0000 |
| Subject: | Re: Array Push and Keys | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161099@lists.php.net to get a copy of this message | ||
On Thu, 28 Aug 2003 18:14:39 -0400, you wrote:
>While($row=mysql_fetch_array($res) {
>That *should* create the array above, but as I mentioned array_push does not
>seem to be taking the keys.... I just get a Parse error message for the
>line. (the first array_push)
Ahem. Count the brackets? :)
(On a style point, your code would be easier to read for bugs like this if
you added some whitespace.)