Lines Matching refs:label

24         $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
31 $id = $label = null;
37 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
42 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
45 var_export($label, true), gettype($label));
53 $id = $label = null;
59 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
64 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
67 var_export($label, true), gettype($label));
77 $id = $label = null;
83 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
88 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
91 var_export($label, true), gettype($label));
95 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
106 $id = $label = null;
112 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
117 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
120 var_export($label, true), gettype($label));
124 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
136 $id = $label = null;
142 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
147 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
150 var_export($label, true), gettype($label));
164 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
171 $id = $label = null;
177 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
182 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
185 var_export($label, true), gettype($label));
193 $id = $label = null;
199 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
204 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
207 var_export($label, true), gettype($label));
217 $id = $label = null;
223 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
228 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
231 var_export($label, true), gettype($label));
235 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
246 $id = $label = null;
252 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
257 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
260 var_export($label, true), gettype($label));
264 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
276 $id = $label = null;
282 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
287 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
290 var_export($label, true), gettype($label));
307 in = 0 -> id = 1 (integer) / label = 'a' (string)
308 in = 0 -> id = 2 (integer) / label = 'b' (string)
310 in = 0 -> id = 1 (integer) / label = 'a' (string)
311 in = 0 -> id = 2 (integer) / label = 'b' (string)
313 in = 0 -> id = 1 (integer) / label = 'a' (string)
314 in = 0 -> id = 2 (integer) / label = 'b' (string)
316 in = 0 -> id = 1 (integer) / label = 'a' (string)
317 in = 0 -> id = 2 (integer) / label = 'b' (string)
319 in = 2 -> id = 1 (integer) / label = 'a' (string)
320 in = 2 -> id = 2 (integer) / label = 'b' (string)
323 in = 0 -> id = 1 (integer) / label = 'a' (string)
324 in = 0 -> id = 2 (integer) / label = 'b' (string)
326 in = 0 -> id = 1 (integer) / label = 'a' (string)
327 in = 0 -> id = 2 (integer) / label = 'b' (string)
329 in = 0 -> id = 1 (integer) / label = 'a' (string)
330 in = 0 -> id = 2 (integer) / label = 'b' (string)
332 in = 0 -> id = 1 (integer) / label = 'a' (string)
333 in = 0 -> id = 2 (integer) / label = 'b' (string)
335 in = 2 -> id = 1 (integer) / label = 'a' (string)
336 in = 2 -> id = 2 (integer) / label = 'b' (string)