+ function execute($statement, $data){
+ $sth = $this->db->prepare($statement); //Prepare
+ /*if (PEAR::isError($sth)) {
+ $this->dbFehler($statement,$sth->getMessage());
+ $this->rollback();
+ return false;
+ }*/
+ $rc = $this->db->execute($sth,$data);
+ if(PEAR::isError($rc)) {
+ $this->dbFehler(print_r($data,true),$rc->getMessage()."\n".print_r($rc,true));
+ $this->rollback();
+ return false;
+ }
+ $this->db->commit();
+ return true;
+ }
+
+ function chkcol($tbl) {