Lines Matching refs:res
27 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1")) {
32 mysqli_free_result($res);
35 if (!$res = mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, 'a')")) {
41 if (!$res = mysqli_query($link, "ALTER TABLE test MODIFY id INT NOT NULL AUTO_INCREMENT")) {
45 if (!$res = mysqli_query($link, "INSERT INTO test(label) VALUES ('a')")) {
56 if (!$res = mysqli_query($link, 'SELECT @@auto_increment_increment AS inc')) {
60 if (!$row = mysqli_fetch_assoc($res)) {
64 mysqli_free_result($res);
96 if (!$res = mysqli_query($link, "SELECT LAST_INSERT_ID() AS last_id")) {
100 if (!$row = mysqli_fetch_assoc($res)) {
104 mysqli_free_result($res);
115 if (!$res = mysqli_query($link, "INSERT INTO test(id, label) VALUES (1000, 'a')")) {
121 if (!$res = mysqli_query($link, "INSERT INTO test(label) VALUES ('b'), ('c')")) {