Lines Matching refs:id

23         $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
30 $id = $label = null;
32 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
41 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
43 var_export($id, true), gettype($id),
52 $id = $label = null;
54 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
63 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
65 var_export($id, true), gettype($id),
76 $id = $label = null;
78 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
87 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
89 var_export($id, true), gettype($id),
94 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
105 $id = $label = null;
107 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
116 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
118 var_export($id, true), gettype($id),
123 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
135 $id = $label = null;
137 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
146 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
148 var_export($id, true), gettype($id),
163 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
170 $id = $label = null;
172 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
181 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
183 var_export($id, true), gettype($id),
192 $id = $label = null;
194 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
203 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
205 var_export($id, true), gettype($id),
216 $id = $label = null;
218 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
227 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
229 var_export($id, true), gettype($id),
234 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
245 $id = $label = null;
247 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
256 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
258 var_export($id, true), gettype($id),
263 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
275 $id = $label = null;
277 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
286 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
288 var_export($id, true), gettype($id),
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)