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();
51 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS C…
56 if (!$stmt->bind_result($column1) || !$stmt->execute())
57 printf("[006] [%d] %s\n", $stmt->errno, $stmt->error);
60 while ($stmt->fetch()) {
67 $stmt->close();
81 …if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT …
85 if (!$stmt->execute() || !$stmt->bind_result($column1))
86 printf("[010] [%d] %s\n", $stmt->errno, $stmt->error);
89 while ($stmt->fetch()) {
97 $stmt->close();
100 …if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT …
104 if (!$stmt->bind_result($column1) || !$stmt->execute())
105 printf("[013] [%d] %s\n", $stmt->errno, $stmt->error);
108 while ($stmt->fetch()) {
115 $stmt->close();
128 if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT 303 UNION SELECT 2")))
132 if (!$stmt->execute() || !$stmt->bind_result($column1))
133 printf("[017] [%d] %s\n", $stmt->errno, $stmt->error);
136 while ($stmt->fetch()) {
144 $stmt->close();
147 if (!($stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT 303 UNION SELECT 2")))
151 if (!$stmt->bind_result($column1) || !$stmt->execute())
152 printf("[020] [%d] %s\n", $stmt->errno, $stmt->error);
155 while ($stmt->fetch()) {
162 $stmt->close();
167 if (!($stmt = $link->prepare("SELECT 'one' AS column1 UNION SELECT ? UNION SELECT ?")))
168 printf("[022] [%d] %s\n", $stmt->errno, $stmt->error);
171 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->execute() || !$stmt->bind_result($column1))
172 printf("[023] [%d] %s\n", $stmt->errno, $stmt->error);
176 while ($stmt->fetch()) {
180 $stmt->close();
185 if (!($stmt = $link->prepare("SELECT 'one' AS column1 UNION SELECT ? UNION SELECT ?")))
186 printf("[024] [%d] %s\n", $stmt->errno, $stmt->error);
189 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->bind_result($column1) || !$stmt->execute())
190 printf("[025] [%d] %s\n", $stmt->errno, $stmt->error);
193 while ($stmt->fetch()) {
200 $stmt->close();
205 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST(? AS CHAR) U…
206 printf("[027] [%d] %s\n", $stmt->errno, $stmt->error);
209 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->execute() || !$stmt->bind_result($column1))
210 printf("[028] [%d] %s\n", $stmt->errno, $stmt->error);
214 while ($stmt->fetch()) {
218 $stmt->close();
223 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST(? AS CHAR) U…
224 printf("[029] [%d] %s\n", $stmt->errno, $stmt->error);
227 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->bind_result($column1) || !$stmt->execute())
228 printf("[030] [%d] %s\n", $stmt->errno, $stmt->error);
231 while ($stmt->fetch()) {
238 $stmt->close();