Re: Using two colomns of mysql data as key/value pairs in arrays
| From: | Jon Kriek | Date: | Mon, 20 Oct 2003 14:03:30 +0000 |
| Subject: | Re: Using two colomns of mysql data as key/value pairs in arrays | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31162@lists.php.net to get a copy of this message | ||
Easier is not always "right" or "good script-logic"
Would it be easier for you to type:
mysql_fetch_array($result, MYSQL_ASSOC) {
>> It's easier for me to just always use mysql_fetch_array instead of
figuring out whether I want mysql_fetch_row, mysql_fetch_assoc, or both.
"David T-G" <davidtg-php@justpickone.org> wrote in message
news:20031020135849.GS9710@justpickone.org...