Lines Matching refs:row
26 while ($row = mysqli_fetch_array($res)) {
28 $row['label'] = NULL;
38 while ($row = mysqli_fetch_array($res, MYSQLI_BOTH)) {
41 $results[$i++] = &$row;
46 if ($row[0] < 0 || $row[0] > $id) {
47 printf("[004] Unexpected result row[0] = '%s' (range 0...%d), [%d] %s\n",
48 $row[0], $id, mysqli_errno($link), mysqli_error($link));
51 if ($row[0] !== $row['id']) {
52 printf("[005] Unexpected result row[0] = '%s', row[id] = '%s', [%d] %s\n",
53 $row[0], $row[id], mysqli_errno($link), mysqli_error($link));
57 $len = strlen($row[1]);
58 if (!is_string($row[1]) || $len == 0 || $len > 1) {
59 printf("[006] Unexpected result row[1] = '%s', [%d] %s\n",
60 $row[1], mysqli_errno($link), mysqli_error($link));
63 if ($row[1] !== $row['label']) {
64 printf("[007] Unexpected result row[1] = '%s', row[label] = '%s', [%d] %s\n",
65 $row[1], $row['label'], mysqli_errno($link), mysqli_error($link));
76 while ($row = mysqli_fetch_array($res, MYSQLI_ASSOC)) {
78 $row['label'] = NULL;
85 $row = mysqli_fetch_assoc($res);
86 $num = $row['num'];
94 while ($row = mysqli_fetch_array($res, MYSQLI_NUM)) {
96 $row[0] = NULL;