Lines Matching refs:stmt
15 if (!$stmt = mysqli_stmt_init($link))
19 mysqli_stmt_data_seek($stmt, 1);
24 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id"))
25 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
27 if (true !== ($tmp = mysqli_stmt_execute($stmt)))
32 if (!mysqli_stmt_bind_result($stmt, $id))
33 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
35 if (!mysqli_stmt_store_result($stmt))
36 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
38 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 2)))
41 if (!mysqli_stmt_fetch($stmt))
42 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
46 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 0)))
49 if (!mysqli_stmt_fetch($stmt))
50 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
54 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, mysqli_stmt_num_rows($stmt) + 100)))
57 if (mysqli_stmt_fetch($stmt))
58 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
63 mysqli_stmt_data_seek($stmt, -1);
68 if (mysqli_stmt_fetch($stmt))
69 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
73 mysqli_stmt_close($stmt);
76 mysqli_stmt_data_seek($stmt, 0);