[dev] Error in preferences/database?

Anil Madhavapeddy anil@recoil.org
Tue, 14 Nov 2000 16:19:45 -0000


Michael Bull wrote:
>
> At 04:43 PM 13/11/2000 -0800, you wrote:
> >about that.  For now you can either stick in an '@' sign before the pg_exec
> >call in DB/pgsql.php (i.e. on line 163 and 194 instead of pg_exec make it
> >@pg_exec) or switch to using the bundled pgsql.php Prefs driver in
> imp. (i.e.
> >$conf['prefs']['driver'] = 'pgsql'.
>
> Can you clarify for me the implication of the @ sign?
>

It suppresses any PHP errors or warning that result from the statement
it preceeds.

http://www.php.net/manual/features.error-handling.php

--
 Anil Madhavapeddy / "I told you not to flush that!"
 anil@recoil.org   /    Stern Lecture Plumbing