mysql_fetch_array — Fetch a result row as an associative array, a numeric array, or both. This makes $tempArrayCount and the while obsolete. Dump all the raw results into a multi-dim array using fetch_all(), then loop on that array when ready to echo output. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\post\includes\pm_send.php on line 12 pm_send.php code is here