Replace the connect with this:
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die (mysql_error());
It will show you what's wrong, or guide you in the right direction.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875