Re: Using A Query Results Multiple Times
| From: | Christian Reiniger | Date: | Wed, 24 Oct 2001 10:15:25 +0000 |
| Subject: | Re: Using A Query Results Multiple Times | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-13658@lists.php.net to get a copy of this message | ||
On Tuesday 23 October 2001 20:47, Adam Douglas wrote:
> mysql_fetch_array function. At first I thought I could loop through my
> while loop and have it put the results from the query of each row in to
> a multidimensional array. But then how would I add to the array after
> the initial row?
while ($row = mysql_fetch_array (...))
{
$MyArray[] = $row;
}
Look up arrays in the manual
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
Very funny, Scotty! Now beam up my clothes...