Re: mysql_fetch_array() vs mysql_fetch_assoc() WAS: Re: [PHP] Why does this script run out of memory?
| From: | Daniel Brown | Date: | Fri, 28 Oct 2011 23:04:06 +0000 |
| Subject: | Re: mysql_fetch_array() vs mysql_fetch_assoc() WAS: Re: [PHP] Why does this script run out of memory? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315526@lists.php.net to get a copy of this message | ||
On Fri, Oct 28, 2011 at 18:48, Jim Long <php@umpquanet.com> wrote:
>
> I'm not seeing any numeric keys in my mysql_fetch_assoc() arrays.
You're absolutely correct, that's my mistake: substitute
mysql_fetch_row() for mysql_fetch_assoc(). Duh.
Time to call it a week....
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/