Re: Help with arrays
| From: | memoimyself at yahoo dot com dot br | Date: | Fri, 12 Mar 2004 11:54:26 +0000 |
| Subject: | Re: Help with arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180245@lists.php.net to get a copy of this message | ||
Hello Elliot,
On 11 Mar 2004 at 23:55, Elliot J. Balanza wrote:
> 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?
Assuming you've read the introductory sections of the PHP manual and are not trying to
get other people to spend their time on your project so that you won't need to spend
yours, please show us your code so that we can help you spot the problem.
Erik