www.chessish.com <http://www.chessish.com>
--
From: Richard Emery [SMTP:[EMAIL PROTECTED]]
Sent: 29 April 2002 21:57
To: Rodrigo Peres; PHP
Subject: Re: [PHP] build array dinamicaly
$query = "SELECT name,address FROM tbl";
$query = "SELECT name,address FROM tbl";
$result = mysql_query($query);
while($myarray[] = mysql_fetch_array($result);
- Original Message -
From: Rodrigo Peres <[EMAIL PROTECTED]>
To: PHP <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 9:20 AM
Subject: [PHP] build
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
3 matches
Mail list logo