Re: Problem with fetching values...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 2008-12-29 22:09:16, schrieb chris smith:
> > 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.

Argh!!! Asshole !!! (me)  --  I have not seen the tree in the wood!

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

<<attachment: signature.pgp>>


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux