Re: undefiend function error --- why ? --
| From: | Xavier | Date: | Wed, 07 May 2003 17:54:32 +0000 |
| Subject: | Re: undefiend function error --- why ? -- | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5259@lists.php.net to get a copy of this message | ||
Torten Schmidt wrote:
Here is the message: DB Error: extension not found [userinfo] => pgsql://test:test@localhost/bildung [backtrace] .... Torsten Xavier wrote:a simple phpinfo() should confirm that. In this case, you should compil php with --pgsql option hope it helps Regards -- XavierTs wrote:$db = DB::connect($dsn, TRUE); print_r($db);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 . "://"Hi, and what give you a print_r($db) ?. $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$sql = "SELECT pid, name, vorname FROM t_bew_schueler";regards -- Xavierit sound's like Postgresql support is laking in your php install .