Lines Matching refs:stmt
24 if (!$stmt = mysqli_stmt_init($link))
27 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 1)))
30 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id"))
31 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
33 if (true !== ($tmp = mysqli_stmt_execute($stmt)))
38 if (!mysqli_stmt_bind_result($stmt, $id))
39 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
41 if (!mysqli_stmt_store_result($stmt))
42 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 2)))
47 if (!mysqli_stmt_fetch($stmt))
48 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
52 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 0)))
55 if (!mysqli_stmt_fetch($stmt))
56 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
60 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, mysqli_stmt_num_rows($stmt) + 100)))
63 if (mysqli_stmt_fetch($stmt))
64 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
68 if (false !== ($tmp = mysqli_stmt_data_seek($stmt, -1)))
71 if (mysqli_stmt_fetch($stmt))
72 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
76 mysqli_stmt_close($stmt);
78 if (NULL !== ($tmp = mysqli_stmt_data_seek($stmt, 0)))