I am trying to build a function that extracts information from a database and inserts it into an associative array in PHP using mysql_fetch_assoc, and return the ar
mysql_fetch_assoc
print_r($array) will give nicely formatted (textually, not html) output.
print_r($array)