Lines Matching refs:mysql_query
33 if (!mysql_query('DROP TABLE IF EXISTS test', $link))
36 if (!mysql_query('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE = ' . $engine, $…
39 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a')", $link))
46 @mysql_query("INSERT INTO test(id, label) VALUES (1, 'a')", $link);
50 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id = 4", $lin…
56 if (!mysql_query("INSERT INTO test(id, label) VALUES (2, 'b'), (3, 'c')", $link))
62 if (!mysql_query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')", $link)) {
69 if (!mysql_query("INSERT INTO test(id, label) SELECT id + 10, label FROM test", $link))
75 if (!mysql_query("REPLACE INTO test(id, label) values (4, 'd')", $link))
81 if (!mysql_query("REPLACE INTO test(id, label) values (5, 'e')", $link))
87 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 2", $link))
93 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 2", $link)) {
100 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 100", $link)) {
110 if (!mysql_query('DROP TABLE IF EXISTS test', $link))