mysql_fetch_assoc(result_id)
This function fetches a result row as an associative array. It's identical to mysql_fetch_array called with the MYSQL_ASSOC parameter.