Re: [PHP-DB] array problem From: Jason Wong (phplist <email protected>)
Date: 06/21/02

On Thursday 20 June 2002 23:26, Richard Black wrote:
> By passing a second parameter to mysql_fetch_array, MYSQL_ASSOC
>
> This means you only get back an array with the values indexed by
> fieldname.

Or just use mysql_fetch_assoc().

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/* disks spinning backwards - toggle the hemisphere jumper. */

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php