Re: Using two colomns of mysql data as key/value pairs in arrays

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

 



Chris, we think along the same lines - posted a similar concern seconds
before you.



-- 
Jon Kriek
http://phpfreaks.com


"Chris Boget" <chris@wild.net> wrote in message
007401c3970f$f5602b90$8c01a8c0@ENTROPY">news:007401c3970f$f5602b90$8c01a8c0@ENTROPY...
> > mysql_fetch_array( $result )
>
> Actually, for an associative array (which the OP had made reference
> to), you use mysql_fetch_assoc().
> I avoid mysql_fetch_array() like the plague unless there is a very
> specific need.
>
> Chris

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux