that seems to be the problem but I am new to php... this is what I have for my db_connect() function:
function db_connect() {
$result = @mysql_connect ('localhost', 'user', 'password', 'db_name');
if (!$result)
throw new Exception('Could not connect to database server');
else
return $result;
}
(too bad I can't choose a lightbulb that's not lit for my message icon 😃 😃 😃 )