build array dinamicaly
| From: | Rodrigo Peres | Date: | Mon, 29 Apr 2002 14:20:38 +0000 |
| Subject: | build array dinamicaly | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95158@lists.php.net to get a copy of this message | ||
Hi list,
I want to buil an multidimensional array with the results of Mysql, but I
don't know how to do it.
What I need is:
"SELECT name,adress from tbl_....."
array name will receive the names
array adress will receive the adresses
and array clientes will contain both, so when i try to access i will have
something like $cliente['nome'][0] or $clientes['adress'][1] and so on.
Someone can help???
Thank's in advace
Rodrigo Peres