Lines Matching refs:mysqli_query
29 if (!mysqli_query($link, 'SET AUTOCOMMIT = 0'))
32 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit'))
43 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit'))
50 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test'))
53 if (!mysqli_query($link, 'CREATE TABLE test(id INT) ENGINE = InnoDB')) {
57 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1)'))
60 if (!mysqli_query($link, 'ROLLBACK'))
63 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test'))
72 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test'))
75 if (!mysqli_query($link, 'SET AUTOCOMMIT = 1'))
78 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit'))
88 if (!mysqli_query($link, 'CREATE TABLE test(id INT) ENGINE = InnoDB')) {
92 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1)'))
95 if (!mysqli_query($link, 'ROLLBACK'))
98 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test'))
105 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1)'))
108 if (!mysqli_query($link, 'COMMIT'))
111 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test'))
119 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test'))