Lines Matching refs:stmt
18 if (!$stmt = mysqli_stmt_init($link))
21 // stmt object status test
23 mysqli_stmt_free_result($stmt);
28 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id"))
29 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
31 mysqli_stmt_free_result($stmt);
33 if (!mysqli_stmt_execute($stmt))
34 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
36 mysqli_stmt_free_result($stmt);
38 if (false !== ($tmp = mysqli_stmt_store_result($stmt)))
41 mysqli_stmt_close($stmt);
43 if (!$stmt = mysqli_stmt_init($link))
46 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id"))
47 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 if (!mysqli_stmt_execute($stmt))
50 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
52 if (true !== ($tmp = mysqli_stmt_store_result($stmt)))
55 mysqli_stmt_free_result($stmt);
57 mysqli_stmt_close($stmt);
60 mysqli_stmt_free_result($stmt);