* Thus wrote Jon Drukman ([EMAIL PROTECTED]):$dbh=mysql_connect() or die("mysql connect failed: " . mysql_error());
. Ensure your error_reporting level is high enought to allow Warnings, and make sure display_errors is on.
or
. Turn on track_errors and use the variable $php_errmsg inplace of mysql_error().
die("mysql connecte failed: $php_errmsg");
i have warnings on. it says "Warning: mysql_connect() failed:" and then there is no error message. $php_errmsg is empty as well.
it only happens once every hundred or so connects. it's starting to drive me bonkers.
-jsd-
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php