Re: Subject: Extracting values from an array (I think)
| From: | Neil Smth | Date: | Tue, 25 Nov 2003 00:33:03 +0000 |
| Subject: | Re: Subject: Extracting values from an array (I think) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31730@lists.php.net to get a copy of this message | ||
Get your array from mysql_fetch_assoc() you can then use as an alternative, the extract() function :
http://uk2.php.net/manual/en/function.extract.php
Cheers - Neil.
At 20:04 24/11/2003 +0000, you wrote:
To: php-db@lists.php.net MIME-Version: 1.0 From: dpgirago@mdanderson.org Date: Mon, 24 Nov 2003 12:44:37 -0600 Subject: Extracting values from an array (I think) Hello All, I'm familiar and comfortable with selecting and utilizing one record at a time in my php-mysql gui / application. But now I'm faced with having to select one field from 24 records and assign the results to 24 different variables.