Re: PHP shows nothing

From: Date: Tue, 30 Nov 2010 21:32:50 +0000
Subject: Re: PHP shows nothing
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-309778@lists.php.net to get a copy of this message
>        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

« previous php.general (#309778) next »