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 Boget wrote:
The original poster actually mentioned an associative array with one db
field as the index and another as the value. None of these, just like
Ignatius's suggestion, will do the job.


Actually, mysql_fetch_assoc() will do quite nicely.

Im afraid not. I already tried that. It uses the colomn names as the keys, which is not what I need.



I didn't think it worth shooting down someone who was being helpful, though, when I made my response.


It didn't seem like he was shooting you down.

Chris

I appreciate any attempts to help! :)



-- 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