Lines Matching refs:stmt
17 $stmt = mysqli_stmt_init($link);
26 if (!($stmt = $link->prepare("CALL p123"))) {
27 printf("[003] [%d] %s\n", $stmt->error, $stmt->errno);
30 if (!$stmt->execute()) {
31 printf("[005] [%d] %s\n", $stmt->error, $stmt->errno);
36 if (!$stmt->bind_result($c_id, $c_label)) {
37 printf("[004] [%d] %s\n", $stmt->error, $stmt->errno);
41 if (!$stmt->fetch()) {
42 printf("[006] [%d] %s\n", $stmt->error, $stmt->errno);
47 if ($stmt->fetch()) {
52 if ($stmt->fetch()) {
56 if (!$stmt->more_results()) {
59 var_dump("[009] next_result:", $stmt->next_result());
62 if (!$stmt->bind_result($c_id, $c_label)) {
63 printf("[010] [%d] %s\n", $stmt->error, $stmt->errno);
67 if (!$stmt->fetch()) {
68 printf("[011] [%d] %s\n", $stmt->error, $stmt->errno);
73 if ($stmt->fetch()) {
77 if (!$stmt->more_results()) {
80 var_dump("[013] next_result:", $stmt->next_result());
83 if ($stmt->more_results()) {
89 $stmt->close();