Lines Matching refs:res
34 if (!$res = $mysqli->query("SELECT 'mysqli.default_socket' AS testing"))
36 $tmp = $res->fetch_assoc();
37 $res->free_result();
57 if (!$res = $mysqli->query("SELECT 'mysqli.default_port' AS testing"))
59 var_dump($res->fetch_assoc());
60 $res->free_result();
75 if (!$res = $mysqli->query("SELECT 'mysqli.default_pw' AS testing"))
77 var_dump($res->fetch_assoc());
78 $res->free_result();
93 if (!$res = $mysqli->query("SELECT 'mysqli.default_user' AS testing"))
95 var_dump($res->fetch_assoc());
96 $res->free_result();
111 if (!$res = $mysqli->query("SELECT 1"))
113 $res->free_result();
115 if (!$res = $mysqli->query("SELECT SUBSTRING_INDEX(USER(),'@',1) AS username"))
118 $tmp = $res->fetch_assoc();
119 $res->free_result();
133 if (!$res = mysqli_query($link, "SELECT 'have been set' AS all_defaults"))
135 var_dump(mysqli_fetch_assoc($res));
136 mysqli_free_result($res);
146 if (!$res = mysqli_query($link, "SELECT 'have been set' AS all_defaults"))
148 var_dump(mysqli_fetch_assoc($res));
149 mysqli_free_result($res);