Lines Matching refs:stmt
13 $stmt = mysqli_stmt_init($link);
22 if (!($stmt = $link->prepare("CALL p123"))) {
23 printf("[003] [%d] %s\n", $stmt->error, $stmt->errno);
26 if (!$stmt->execute()) {
27 printf("[005] [%d] %s\n", $stmt->error, $stmt->errno);
32 if (!$stmt->bind_result($c_id, $c_label)) {
33 printf("[004] [%d] %s\n", $stmt->error, $stmt->errno);
37 if (!$stmt->fetch()) {
38 printf("[006] [%d] %s\n", $stmt->error, $stmt->errno);
43 if ($stmt->fetch()) {
48 if ($stmt->fetch()) {
52 if (!$stmt->more_results()) {
55 var_dump("[009] next_result:", $stmt->next_result());
58 if (!$stmt->bind_result($c_id, $c_label)) {
59 printf("[010] [%d] %s\n", $stmt->error, $stmt->errno);
63 if (!$stmt->fetch()) {
64 printf("[011] [%d] %s\n", $stmt->error, $stmt->errno);
69 if ($stmt->fetch()) {
73 if (!$stmt->more_results()) {
76 var_dump("[013] next_result:", $stmt->next_result());
79 if ($stmt->more_results()) {
85 $stmt->close();