Lines Matching refs:mysql_query
29 if (!$res = mysql_query("SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 1", $link)) {
39 if (!$res = mysql_query("SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 1", $link)) {
84 if (!mysql_query("DROP TABLE IF EXISTS test", $link))
86 …if (!mysql_query(sprintf("CREATE TABLE test(id INT, label %s) ENGINE = %s", $type_name, $engine), …
96 if (!mysql_query($insert, $link)) {
104 if (!$res = mysql_query("SELECT id, label FROM test", $link)) {
118 if (!mysql_query("DROP TABLE IF EXISTS test", $link))
121 if (!mysql_query("CREATE TABLE test(id INT DEFAULT 1)"))
124 if (!mysql_query("INSERT INTO test(id) VALUES (2)"))
127 if (!$res = mysql_query("SELECT id FROM test", $link)) {
134 if (!$res = mysql_query("SELECT id FROM test", $link)) {