Lines Matching refs:id

12     function findRow($offset, $link, $id, $label) {
14 $sql = sprintf("SELECT id, label FROM test WHERE id = '%d' AND label = '%s'",
15 $id, $label);
28 if ($row['id'] != $id) {
30 $offset, gettype($id), $id,
31 gettype($row['id']), $row['id']
44 $sql = sprintf("DELETE FROM test WHERE id = '%d' AND label = '%s'",
45 $id, $label);
58 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
61 $id = 100;
63 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
69 findRow(4, $link, $id, $label);
71 $id++;
74 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_ref)))
79 findRow(7, $link, $id, $label_ref);
81 $id++;
85 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_ref_ref)))
90 findRow(9, $link, $id, $label_ref_ref);
92 $id = 9;
93 $label = $id;
96 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_num)))
101 findRow(12, $link, $id, $label_num);
103 $label_num = &$id;
104 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_num)))
109 findRow(15, $link, $id, $label_num);
112 $id = &$label;
114 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
119 findRow(17, $link, $id, $label);
122 $id = &$base;
123 $label = &$id;
125 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
130 findRow(20, $link, $id, $label);
132 $id_ref = &$id;
152 unset($id);
154 $id = 102;
157 $id_ref = &$GLOBALS['id'];
165 $id = 103;
170 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_b)))
175 findRow(32, $link, $id, $label_b);
187 $id++;
190 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
195 findRow(35, $link, $id, $label);