> So, PostgreSQL catch the array by "name"
>
>    pg_fetch_array($db_query, null, PGSQL_ASSOC)
>
> and MySQL use the "position"
>
>    mysql_fetch_array($db_query, MYSQL_NUM)

Why?

http://www.php.net/mysql_fetch_array

Use MYSQL_ASSOC as the 2nd param, or leave it out and by default it uses BOTH.

-- 
Postgresql & php tutorials
http://www.designmagick.com/

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

Reply via email to