Hello and Thank you so much for the help!
This script counts all messages a member has!
<?php
//Get your private message count
$query = "SELECT count(*) as numRows FROM mail WHERE mem_id_to='$user'";
$result = mysql_query($query) or die('MySQL Error: ' . mysql_error());
$aRow = mysql_fetch_array($result)
echo $aRow['numRows'];
?>
This script counts all unread messages a member has!
<?php
//Unread message count
$query = "SELECT status, count(*) as su FROM mail WHERE mem_id_to='$user' GROUP BY status='read'";
$result = mysql_query($query) or die('MySQL Error: ' . mysql_error());
$suRow = mysql_fetch_array($result)
<? echo $suRow['su']; ?>
?>
This works for me.... If there is a suggestion on how to make this better please leave a post...... Once again Thank you for the help!