Lines Matching refs:id
13 function findRow($offset, $link, $id, $label) {
15 $sql = sprintf("SELECT id, label FROM test WHERE id = '%d' AND label = '%s'",
16 $id, $label);
29 if ($row['id'] != $id) {
31 $offset, gettype($id), $id,
32 gettype($row['id']), $row['id']
45 $sql = sprintf("DELETE FROM test WHERE id = '%d' AND label = '%s'",
46 $id, $label);
59 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
62 $id = 100;
64 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
70 findRow(4, $link, $id, $label);
72 $id++;
75 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_ref)))
80 findRow(7, $link, $id, $label_ref);
82 $id++;
86 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_ref_ref)))
91 findRow(9, $link, $id, $label_ref_ref);
93 $id = 9;
94 $label = $id;
97 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_num)))
102 findRow(12, $link, $id, $label_num);
104 $label_num = &$id;
105 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_num)))
110 findRow(15, $link, $id, $label_num);
113 $id = &$label;
115 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
120 findRow(17, $link, $id, $label);
123 $id = &$base;
124 $label = &$id;
126 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
131 findRow(20, $link, $id, $label);
133 $id_ref = &$id;
153 unset($id);
155 $id = 102;
158 $id_ref = &$GLOBALS['id'];
166 $id = 103;
171 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label_b)))
176 findRow(32, $link, $id, $label_b);
188 $id++;
191 if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id, $label)))
196 findRow(35, $link, $id, $label);