Lines Matching refs:stmt
13 if (!$stmt = mysqli_stmt_init($link))
17 mysqli_stmt_data_seek($stmt, 1);
22 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id"))
23 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
25 if (true !== ($tmp = mysqli_stmt_execute($stmt)))
30 if (!mysqli_stmt_bind_result($stmt, $id))
31 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
33 if (!mysqli_stmt_store_result($stmt))
34 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
36 mysqli_stmt_data_seek($stmt, 2);
38 if (!mysqli_stmt_fetch($stmt))
39 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
43 mysqli_stmt_data_seek($stmt, 0);
45 if (!mysqli_stmt_fetch($stmt))
46 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
50 mysqli_stmt_data_seek($stmt, mysqli_stmt_num_rows($stmt) + 100);
52 if (mysqli_stmt_fetch($stmt))
53 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
58 mysqli_stmt_data_seek($stmt, -1);
63 if (mysqli_stmt_fetch($stmt))
64 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
68 mysqli_stmt_close($stmt);
71 mysqli_stmt_data_seek($stmt, 0);