Lines Matching refs:dbh
11 $dbh = new PDO("firebird:dbname=$test_base",$user,$password) or die;
13 @$dbh->exec('DROP TABLE testz');
14 $dbh->exec('CREATE TABLE testz (A VARCHAR(10))');
15 $dbh->exec("INSERT INTO testz VALUES ('A')");
16 $dbh->exec("INSERT INTO testz VALUES ('A')");
17 $dbh->exec("INSERT INTO testz VALUES ('B')");
18 $dbh->commit();
22 $stmt = $dbh->prepare($query);
29 $stmt = $dbh->prepare('UPDATE testZ SET A="A" WHERE A != ?');
32 $dbh->commit();
34 $stmt = $dbh->prepare('DELETE FROM testz');
38 $dbh->commit();
40 $dbh->exec('DROP TABLE testz');
43 unset($dbh);