Re: Using two colomns of mysql data as key/value pairs in arrays
| From: | Chris Boget | Date: | Mon, 20 Oct 2003 13:58:04 +0000 |
| Subject: | Re: Using two colomns of mysql data as key/value pairs in arrays | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31160@lists.php.net to get a copy of this message | ||
> 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.
> 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