Lines Matching refs:res
26 if (!$res = mysqli_query($link, $query, MYSQLI_STORE_RESULT)) {
31 if ($expected !== ($tmp = mysqli_num_rows($res)))
36 mysqli_free_result($res);
38 if ($test_free && (NULL !== ($tmp = mysqli_num_rows($res))))
48 if ($res = mysqli_query($link, 'SELECT COUNT(id) AS num FROM test')) {
50 $row = mysqli_fetch_assoc($res);
51 mysqli_free_result($res);
61 if ($res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT)) {
63 $row = mysqli_fetch_row($res);
64 if (0 !== ($tmp = mysqli_num_rows($res)))
67 mysqli_free_result($res);