Re: PHP shows nothing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>        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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux