Lines Matching refs:id
24 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
31 $id = $label = null;
33 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
42 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
44 var_export($id, true), gettype($id),
53 $id = $label = null;
55 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
64 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
66 var_export($id, true), gettype($id),
77 $id = $label = null;
79 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
88 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
90 var_export($id, true), gettype($id),
95 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
106 $id = $label = null;
108 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
117 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
119 var_export($id, true), gettype($id),
124 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
136 $id = $label = null;
138 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
147 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
149 var_export($id, true), gettype($id),
164 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
171 $id = $label = null;
173 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
182 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
184 var_export($id, true), gettype($id),
193 $id = $label = null;
195 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
204 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
206 var_export($id, true), gettype($id),
217 $id = $label = null;
219 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
228 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
230 var_export($id, true), gettype($id),
235 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
246 $id = $label = null;
248 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
257 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
259 var_export($id, true), gettype($id),
264 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
276 $id = $label = null;
278 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
287 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
289 var_export($id, true), gettype($id),
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)