|
mysqli_stmt::get_resultmysqli_stmt_get_resultGets a result set from a prepared statement DescriptionObject oriented style
mysqli_result mysqli_stmt::get_result
( void
)
Procedural style
mysqli_result mysqli_stmt_get_result
( mysqli_stmt
$stmt
)Call to return a result set from a prepared statement query. Parameters
Return Values
Returns a resultset for successful SELECT queries, or MySQL Native Driver OnlyAvailable only with mysqlnd. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: Albania 3401200 Europe Algeria 31471000 Africa Afghanistan 22720000 Asia Anguilla 8000 North America See Also
|