Help with arrays
| From: | Elliot J. Balanza | Date: | Fri, 12 Mar 2004 05:55:36 +0000 |
| Subject: | Help with arrays | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180233@lists.php.net to get a copy of this message | ||
I need to make a query to a MySQL database that only has two fields, name &
value. That I can do.
Then I need to store the values i receive in an array in the form of:
$variable['name'] = value;
But haven't been able to do it neither with a foreach nor with a do while...
Can anyone please assist me?