Lines Matching refs:stmt
14 if (!$stmt = mysqli_stmt_init($link))
18 mysqli_stmt_data_seek($stmt, 1);
23 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id"))
24 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
26 if (true !== ($tmp = mysqli_stmt_execute($stmt)))
31 if (!mysqli_stmt_bind_result($stmt, $id))
32 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
34 if (!mysqli_stmt_store_result($stmt))
35 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
37 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 2)))
40 if (!mysqli_stmt_fetch($stmt))
41 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
45 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, 0)))
48 if (!mysqli_stmt_fetch($stmt))
49 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
53 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, mysqli_stmt_num_rows($stmt) + 100)))
56 if (mysqli_stmt_fetch($stmt))
57 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
62 mysqli_stmt_data_seek($stmt, -1);
67 if (mysqli_stmt_fetch($stmt))
68 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
72 mysqli_stmt_close($stmt);
75 mysqli_stmt_data_seek($stmt, 0);