newbie help with autoExecute()

From: Date: Thu, 29 Apr 2004 11:56:17 +0000
Subject: newbie help with autoExecute()
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12218@lists.php.net to get a copy of this message
Am trying the following bit of code $table = 'reports'; $fields = array('report_name' => $_POST['report_name'], 'report_desc' => $_POST['report_desc'] ); $res = $db->autoExecute($table,$fields,DB_AUTOQUERY_INSERT); if (DB::isError($res)) { die($res->getMessage()); } However I get the error Fatal error: Call to undefined function: autoexecute() in /home/jp/public_html/v1/reports.php on line 19 I'm using the $db->query() methods and getALL etc so I know the class is loaded and working. Is there a library I'm missing tia Pete

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