Lines Matching refs:res
13 if (!$res = mysqli_query($link, "SELECT 1, 2")) {
17 var_dump(mysqli_fetch_assoc($res));
18 mysqli_free_result($res);
20 if (!$res = mysqli_query($link, "SELECT 1 AS a, 2")) {
24 var_dump(mysqli_fetch_assoc($res));
25 mysqli_free_result($res);
27 if (!$res = mysqli_query($link, "SELECT 1 AS a, 2, 2 as '2'")) {
31 var_dump(mysqli_fetch_assoc($res));
32 mysqli_free_result($res);
34 if (!$res = mysqli_query($link, "SELECT 1 AS a, 2 as '2', 2")) {
38 var_dump(mysqli_fetch_assoc($res));
39 mysqli_free_result($res);
42 if (!$res = mysqli_real_query($link, "SELECT 1, 2")) {
45 if (!$res = mysqli_use_result($link)) {
49 var_dump(mysqli_fetch_assoc($res));
50 mysqli_free_result($res);
52 if (!$res = mysqli_real_query($link, "SELECT 1 AS a, 2")) {
55 if (!$res = mysqli_use_result($link)) {
59 var_dump(mysqli_fetch_assoc($res));
60 mysqli_free_result($res);
62 if (!$res = mysqli_real_query($link, "SELECT 1 AS a, 2, 2 as '2'")) {
65 if (!$res = mysqli_use_result($link)) {
69 var_dump(mysqli_fetch_assoc($res));
70 mysqli_free_result($res);
72 if (!$res = mysqli_real_query($link, "SELECT 1 AS a, 2 as '2', 2")) {
75 if (!$res = mysqli_use_result($link)) {
79 var_dump(mysqli_fetch_assoc($res));
80 mysqli_free_result($res);