$sresult = mysql_query("SELET * FROM table");
$multi_array = array();
while ($row = mysql_fetch_array($result))
$multi_array[] = $row;
}
which has the bennefit of you being able to say something like $multi_array[ 3 ][ 'fieldname' ].
But you should be aware that php usually can hold only about 8 megs of data in memory. So if you got a bigger database, you can't read it all into an array. there are few cases where you should do that anyway, as well.