Lines Matching refs:stmt
27 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS C…
31 if (!$stmt->execute() || !$stmt->bind_result($column1))
32 printf("[003] [%d] %s\n", $stmt->errno, $stmt->error);
35 while ($stmt->fetch()) {
42 $stmt->close();
52 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS C…
57 if (!$stmt->bind_result($column1) || !$stmt->execute())
58 printf("[006] [%d] %s\n", $stmt->errno, $stmt->error);
61 while ($stmt->fetch()) {
68 $stmt->close();
83 …if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT …
87 if (!$stmt->execute() || !$stmt->bind_result($column1))
88 printf("[010] [%d] %s\n", $stmt->errno, $stmt->error);
91 while ($stmt->fetch()) {
99 $stmt->close();
103 …if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT …
107 if (!$stmt->bind_result($column1) || !$stmt->execute())
108 printf("[013] [%d] %s\n", $stmt->errno, $stmt->error);
111 while ($stmt->fetch()) {
118 $stmt->close();
132 if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT 303 UNION SELECT 2")))
136 if (!$stmt->execute() || !$stmt->bind_result($column1))
137 printf("[017] [%d] %s\n", $stmt->errno, $stmt->error);
140 while ($stmt->fetch()) {
148 $stmt->close();
152 if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT 303 UNION SELECT 2")))
156 if (!$stmt->bind_result($column1) || !$stmt->execute())
157 printf("[020] [%d] %s\n", $stmt->errno, $stmt->error);
160 while ($stmt->fetch()) {
167 $stmt->close();
173 if (!($stmt = $link->prepare("SELECT 'one' AS column1 UNION SELECT ? UNION SELECT ?")))
174 printf("[022] [%d] %s\n", $stmt->errno, $stmt->error);
177 if (!$stmt->bind_param('ss', $three, $two) || !$stmt->execute() || !$stmt->bind_result($column1))
178 printf("[023] [%d] %s\n", $stmt->errno, $stmt->error);
182 while ($stmt->fetch()) {
186 $stmt->close();
192 if (!($stmt = $link->prepare("SELECT 'one' AS column1 UNION SELECT ? UNION SELECT ?")))
193 printf("[024] [%d] %s\n", $stmt->errno, $stmt->error);
196 if (!$stmt->bind_param('ss', $three, $two) || !$stmt->bind_result($column1) || !$stmt->execute())
197 printf("[025] [%d] %s\n", $stmt->errno, $stmt->error);
200 while ($stmt->fetch()) {
207 $stmt->close();
213 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST(? AS CHAR) U…
214 printf("[027] [%d] %s\n", $stmt->errno, $stmt->error);
217 if (!$stmt->bind_param('ss', $three, $two) || !$stmt->execute() || !$stmt->bind_result($column1))
218 printf("[028] [%d] %s\n", $stmt->errno, $stmt->error);
222 while ($stmt->fetch()) {
226 $stmt->close();
232 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST(? AS CHAR) U…
233 printf("[029] [%d] %s\n", $stmt->errno, $stmt->error);
236 if (!$stmt->bind_param('ss', $three, $two) || !$stmt->bind_result($column1) || !$stmt->execute())
237 printf("[030] [%d] %s\n", $stmt->errno, $stmt->error);
240 while ($stmt->fetch()) {
247 $stmt->close();