> if(!$db = @pg_connect($connection_string)) { > return FALSE; > } > return $db; > > how can I find the problem and fix it? The @ symbol is telling it to ignore errors. Remove it and you'll see them if that's where the problem is. http://php.net/manual/en/language.operators.errorcontrol.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php