Lines Matching refs:id

25         $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? ORDER BY id ASC LIMIT 2");
32 $id = $label = null;
34 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
43 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
45 var_export($id, true), gettype($id),
54 $id = $label = null;
56 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
65 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
67 var_export($id, true), gettype($id),
78 $id = $label = null;
80 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
89 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
91 var_export($id, true), gettype($id),
96 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
107 $id = $label = null;
109 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
118 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
120 var_export($id, true), gettype($id),
125 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
137 $id = $label = null;
139 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
148 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
150 var_export($id, true), gettype($id),
165 $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? ORDER BY id ASC LIMIT 2");
172 $id = $label = null;
174 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
183 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
185 var_export($id, true), gettype($id),
194 $id = $label = null;
196 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
205 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
207 var_export($id, true), gettype($id),
218 $id = $label = null;
220 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
229 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
231 var_export($id, true), gettype($id),
236 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
247 $id = $label = null;
249 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
258 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
260 var_export($id, true), gettype($id),
265 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
277 $id = $label = null;
279 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
288 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
290 var_export($id, true), gettype($id),
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 = 0 -> id = 1 (integer) / label = 'a' (string)
319 in = 0 -> id = 2 (integer) / label = 'b' (string)
321 in = 2 -> id = 1 (integer) / label = 'a' (string)
322 in = 2 -> 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 = 0 -> id = 1 (integer) / label = 'a' (string)
335 in = 0 -> id = 2 (integer) / label = 'b' (string)
337 in = 2 -> id = 1 (integer) / label = 'a' (string)
338 in = 2 -> id = 2 (integer) / label = 'b' (string)