Lines Matching refs:stmt
15 if (FALSE === ($stmt = $link->prepare('SELECT 42'))) {
18 if (FALSE === $stmt->execute()) {
19 printf("[003] Execute failed, [%d] %s\n", $stmt->errorno, $stmt->error);
21 if (FALSE === $stmt->store_result()) {
22 printf("[004] store_result failed, [%d] %s\n", $stmt->errorno, $stmt->error);
25 if (FALSE === $stmt->bind_result($one)) {
26 printf("[005] bind_result failed, [%d] %s\n", $stmt->errorno, $stmt->error);
28 if (FALSE === $stmt->reset()) {
29 printf("[006] bind_result failed, [%d] %s\n", $stmt->errorno, $stmt->error);
31 while ($stmt->fetch()) {
34 $stmt->close();