Re: undefiend function error --- why ? --

From: Date: Wed, 07 May 2003 17:29:55 +0000
Subject: Re: undefiend function error --- why ? --
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5258@lists.php.net to get a copy of this message
Here is the message: DB Error: extension not found [userinfo] => pgsql://test:test@localhost/bildung [backtrace] .... Torsten Xavier wrote:
Ts wrote:
Hi,
But i get only the "undefiend function" error, at the first function with the syntax $X->function($Y); no matter what function i use! $dsn = $DB_dbType . "://"
        . $DB_user . ":"
        . $DB_pass . "@"
        . $DB_host . "/"
        . $DB_dbName;
$db = DB::connect($dsn, TRUE); $sql = "SELECT pid, name, vorname FROM t_bew_schueler"; $res = $db->query($sql); --------> here is the error! <------------- Thanks in advance. Torsten
Hi, and what give you a print_r($db) ? $db = DB::connect($dsn, TRUE); print_r($db); $sql = "SELECT pid, name, vorname FROM t_bew_schueler"; regards -- Xavier


« previous php.pear.general (#5258) next »