To read data in from a MySQL result index, use the mysql_fetch_assoc() function. This takes one row from ...
www.tuxradar.com