Lines Matching refs:row
27 while ($row = mysqli_fetch_array($res)) {
29 $row['label'] = NULL;
39 while ($row = mysqli_fetch_array($res, MYSQLI_BOTH)) {
42 $results[$i++] = &$row;
47 if ($row[0] < 0 || $row[0] > $id) {
48 printf("[004] Unexpected result row[0] = '%s' (range 0...%d), [%d] %s\n",
49 $row[0], $id, mysqli_errno($link), mysqli_error($link));
52 if ($row[0] !== $row['id']) {
53 printf("[005] Unexpected result row[0] = '%s', row[id] = '%s', [%d] %s\n",
54 $row[0], $row['id'], mysqli_errno($link), mysqli_error($link));
58 $len = strlen($row[1]);
59 if (!is_string($row[1]) || $len == 0 || $len > 1) {
60 printf("[006] Unexpected result row[1] = '%s', [%d] %s\n",
61 $row[1], mysqli_errno($link), mysqli_error($link));
64 if ($row[1] !== $row['label']) {
65 printf("[007] Unexpected result row[1] = '%s', row[label] = '%s', [%d] %s\n",
66 $row[1], $row['label'], mysqli_errno($link), mysqli_error($link));
77 while ($row = mysqli_fetch_array($res, MYSQLI_ASSOC)) {
79 $row['label'] = NULL;
86 $row = mysqli_fetch_assoc($res);
87 $num = $row['num'];
95 while ($row = mysqli_fetch_array($res, MYSQLI_NUM)) {
97 $row[0] = NULL;