Lines Matching refs:stmt
16 if (FALSE === ($stmt = $link->prepare('SELECT 42'))) {
19 if (FALSE === $stmt->execute()) {
20 printf("[003] Execute failed, [%d] %s\n", $stmt->errorno, $stmt->error);
22 if (FALSE === $stmt->store_result()) {
23 printf("[004] store_result failed, [%d] %s\n", $stmt->errorno, $stmt->error);
26 if (FALSE === $stmt->bind_result($one)) {
27 printf("[005] bind_result failed, [%d] %s\n", $stmt->errorno, $stmt->error);
29 if (FALSE === $stmt->reset()) {
30 printf("[006] bind_result failed, [%d] %s\n", $stmt->errorno, $stmt->error);
32 while ($stmt->fetch()) {
35 $stmt->close();