Hiya,
I'm trying to create an array of hashes (so, two dimensional array.. first dimension accessed by numbers, second accessed by strings)
Any idea why the following code doesn't seem to work?
$result = mysql_query("SELECT a,b,c FROM table1");
while ($row = mysql_fetch_array($result)) {
$myarray[] = $row;
}
What do I have to do to get this to work?
Thanks,
~Matt