Lines Matching refs:dbh
11 $dbh = new PDO("firebird:dbname=$test_base",$user,$password) or die;
12 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
14 @$dbh->exec('DROP TABLE testz');
15 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
16 $dbh->exec('INSERT INTO testz VALUES(0, \'String0\')');
17 $dbh->commit();
21 $stmt = $dbh->prepare($query);
30 $stmt = $dbh->prepare('DELETE FROM testz');
33 $dbh->commit();
35 $dbh->exec('DROP TABLE testz');
38 unset($dbh);