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...

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to