Re: Extracting varable number of elements in a query to named arrays
| From: | Stuart | Date: | Mon, 16 Feb 2004 15:09:18 +0000 |
| Subject: | Re: Extracting varable number of elements in a query to named arrays | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32961@lists.php.net to get a copy of this message | ||
John wrote:
addresses so that $addresss[$z]=$c; is a mismatch. Is there an entirely more adaptable way to extract the result into pre-defined array names with a variable number of fields in the query?I think you're looking for http://php.net/mysql_fetch_assoc -- Stuart