[thelist] array of results in PHP

Erik Mattheis gozz at gozz.com
Mon Feb 24 10:03:00 CST 2003

So, I'm wondering if this can easily be done in PHP:

$all_results = mysql_[somefunction]($my_query);

$all_results[1]['person_id'] = person_id in the first row
$all_results[2]['name'] = name in the second row

IOW, a multi-dimensional array where the first dimension is the row
number and the second is the column name.
Erik Mattheis
GoZz Digital
Flash and ColdFusion Development
Minneapolis, MN

More information about the thelist mailing list