Lines Matching refs:mysqli_query
33 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test'))
36 …if (!mysqli_query($link, 'CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE = ' . $…
39 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a')"))
46 mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a')");
50 …if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id =…
56 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (2, 'b'), (3, 'c')"))
62 if (!mysqli_query($link, "INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) {
69 if (!mysqli_query($link, "INSERT INTO test(id, label) SELECT id + 10, label FROM test"))
75 if (!mysqli_query($link, "REPLACE INTO test(id, label) values (4, 'd')"))
81 if (!mysqli_query($link, "REPLACE INTO test(id, label) values (5, 'e')"))
87 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 2"))
95 if (!($res = mysqli_query($link, sprintf("SHOW CHARACTER SET LIKE '%s'", $charset))))
105 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 2")) {
112 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 100")) {
119 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test'))