Lines Matching refs:label

23         $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
30 $id = $label = null;
36 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
41 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
44 var_export($label, true), gettype($label));
52 $id = $label = null;
58 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
63 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
66 var_export($label, true), gettype($label));
76 $id = $label = null;
82 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
87 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
90 var_export($label, true), gettype($label));
94 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
105 $id = $label = null;
111 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
116 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
119 var_export($label, true), gettype($label));
123 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
135 $id = $label = null;
141 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
146 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
149 var_export($label, true), gettype($label));
163 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
170 $id = $label = null;
176 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
181 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
184 var_export($label, true), gettype($label));
192 $id = $label = null;
198 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
203 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
206 var_export($label, true), gettype($label));
216 $id = $label = null;
222 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
227 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
230 var_export($label, true), gettype($label));
234 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
245 $id = $label = null;
251 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
256 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
259 var_export($label, true), gettype($label));
263 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
275 $id = $label = null;
281 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
286 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
289 var_export($label, true), gettype($label));
306 in = 0 -> id = 1 (integer) / label = 'a' (string)
307 in = 0 -> id = 2 (integer) / label = 'b' (string)
309 in = 0 -> id = 1 (integer) / label = 'a' (string)
310 in = 0 -> id = 2 (integer) / label = 'b' (string)
312 in = 0 -> id = 1 (integer) / label = 'a' (string)
313 in = 0 -> id = 2 (integer) / label = 'b' (string)
315 in = 0 -> id = 1 (integer) / label = 'a' (string)
316 in = 0 -> id = 2 (integer) / label = 'b' (string)
318 in = 2 -> id = 1 (integer) / label = 'a' (string)
319 in = 2 -> id = 2 (integer) / label = 'b' (string)
322 in = 0 -> id = 1 (integer) / label = 'a' (string)
323 in = 0 -> id = 2 (integer) / label = 'b' (string)
325 in = 0 -> id = 1 (integer) / label = 'a' (string)
326 in = 0 -> id = 2 (integer) / label = 'b' (string)
328 in = 0 -> id = 1 (integer) / label = 'a' (string)
329 in = 0 -> id = 2 (integer) / label = 'b' (string)
331 in = 0 -> id = 1 (integer) / label = 'a' (string)
332 in = 0 -> id = 2 (integer) / label = 'b' (string)
334 in = 2 -> id = 1 (integer) / label = 'a' (string)
335 in = 2 -> id = 2 (integer) / label = 'b' (string)