Searched refs:prepare (Results 151 – 175 of 376) sorted by relevance
12345678910>>...16
8 include("prepare.inc");
9 include __DIR__ .'/prepare.inc';
10 include __DIR__ .'/prepare.inc';
14 $S = $dbh->prepare('insert into atable (id, content) values (:id, :content)');
21 $query = $dbh->prepare($sql);
19 $query = $dbh->prepare("select * from test");
25 $sth = $dbh->prepare($sql);
15 $st = $db->prepare('attach database :a AS "db2"');
12 $stmt = $db->prepare('SELECT bar FROM foo WHERE id=:id');
15 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
23 Warning: SQLite3::query(): Unable to prepare statement: no such table: non_existent_table in %s on …
21 Warning: SQLite3::query(): Unable to prepare statement: no such table: non_existent_table in %sbug6…
11 $stmt = $db->prepare("SELECT * FROM foo");
26 $stmt = $db->prepare('SELECT id FROM test ORDER BY id ASC');49 $stmt = $db->prepare('SELECT id FROM test ORDER BY id ASC');67 if (!($stmt = @$db->prepare($sql)) || (!@$stmt->execute())) {78 $stmt = $db->prepare('SELECT id, label FROM test');137 $stmt = $db->prepare('SELECT @@sql_mode AS _mode');230 if (($stmt = @$db->prepare($sql)) && @$stmt->execute()) {251 if (($stmt = @$db->prepare($sql)) && @$stmt->execute()) {272 if (($stmt = @$db->prepare($sql)) && @$stmt->execute()) {
17 $stmt = $db->prepare('SET @foo = 1; SET @bar = 2;');
18 $stmt = $db->prepare("SELECT 1");
21 $stmt = $pdo->prepare($sql);
39 $stmt = $db->prepare('INSERT INTO test(id, mybool) VALUES (?, ?)');50 $stmt = $db->prepare('INSERT INTO test(id, mybool) VALUES (?, ?)');
18 $stmt = $db->prepare('SELECT * FROM child');
23 $stmt = $mysql->prepare("SELECT DATABASE()");
24 // an exception should be thrown from prepare (i.e. constructor) not from execute
41 $res = $db->prepare($query, $aParams);58 $res = $db->prepare("SELECT ? $from", $aParams);
19 $stmt = $db->prepare('SELECT * FROM no_table');
Completed in 23 milliseconds