|
mysqli::use_resultmysqli_use_resultInitiate a result set retrieval DescriptionObject oriented style
mysqli_result mysqli::use_result
( void
)
Procedural style
mysqli_result mysqli_use_result
( mysqli
$link
)Used to initiate the retrieval of a result set from the last query executed using the mysqli_real_query function on the database connection. Either this or the mysqli_store_result function must be called before the results of a query can be retrieved, and one or the other must be called to prevent the next query on that database connection from failing.
Return Values
Returns an unbuffered result object or ExamplesExample #1 mysqli::use_result example Object oriented style
<?php Procedural style
<?php The above examples will output: my_user@localhost ----------------- Amersfoort Maastricht Dordrecht Leiden Haarlemmermeer See Also
|