|
mysqli_stmt::store_resultmysqli_stmt_store_resultTransfers a result set from a prepared statement DescriptionObject oriented style
bool mysqli_stmt::store_result
( void
)
Procedural style
bool mysqli_stmt_store_result
( mysqli_stmt
$stmt
)You must call mysqli_stmt_store_result for every query that successfully produces a result set (SELECT, SHOW, DESCRIBE, EXPLAIN), if and only if you want to buffer the complete result set by the client, so that the subsequent mysqli_stmt_fetch call returns buffered data.
Parameters
Return Values
Returns ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: Number of rows: 20. See Also
|