Lines Matching refs:row
28 while ($row = mysqli_fetch_array($res)) {
30 $row['label'] = NULL;
40 while ($row = mysqli_fetch_array($res, MYSQLI_BOTH)) {
43 $results[$i++] = &$row;
48 if ($row[0] < 0 || $row[0] > $id) {
49 printf("[004] Unexpected result row[0] = '%s' (range 0...%d), [%d] %s\n",
50 $row[0], $id, mysqli_errno($link), mysqli_error($link));
53 if ($row[0] !== $row['id']) {
54 printf("[005] Unexpected result row[0] = '%s', row[id] = '%s', [%d] %s\n",
55 $row[0], $row[id], mysqli_errno($link), mysqli_error($link));
59 $len = strlen($row[1]);
60 if (!is_string($row[1]) || $len == 0 || $len > 1) {
61 printf("[006] Unexpected result row[1] = '%s', [%d] %s\n",
62 $row[1], mysqli_errno($link), mysqli_error($link));
65 if ($row[1] !== $row['label']) {
66 printf("[007] Unexpected result row[1] = '%s', row[label] = '%s', [%d] %s\n",
67 $row[1], $row['label'], mysqli_errno($link), mysqli_error($link));
78 while ($row = mysqli_fetch_array($res, MYSQLI_ASSOC)) {
80 $row['label'] = NULL;
87 $row = mysqli_fetch_assoc($res);
88 $num = $row['num'];
96 while ($row = mysqli_fetch_array($res, MYSQLI_NUM)) {
98 $row[0] = NULL;