undefined function error

From: Date: Sun, 27 Apr 2003 15:33:42 +0000
Subject: undefined function error
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5087@lists.php.net to get a copy of this message
I habe an error " Call to undefined function: getall() in bla/bla. My pear files are in the include-path, the include_one("DB.php") works. I'm able to connect to a (Postgresql) database and to send a query ... everything works accept all the getXYZ functions !!! All these functions are defined in /usr/lib/php/DB/common.php I'm using Smarty - Template-engine. Here a part of my code: ... $db = DB::connect($dsn, TRUE); $sql = "SELECT pid, name, vorname FROM t_bew_schueler"; $res = $db->query($sql); if (DB::isError($res)) {
    die($result->getMessage());
} $schueler = $res->getAll($res, DB_FETCHMODE_ASSOC); ^ |--- here is the error ! Please help! Thank you in advance. Torsten

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