Oracle 5.0 Reference Manual page 2448

Table of Contents

Advertisement

mysqli_stmt_prepare
20.7.3.9.56. mysqli::store_result,
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysqli::store_result
mysqli_store_result
Transfers a result set from the last query
Description
Object oriented style
mysqli_result mysqli::store_result();
Procedural style
mysqli_result mysqli_store_result(
mysqli link);
Transfers the result set from the last query on the database connection represented by the
parameter to be used with the
Parameters
link
Return Values
Returns a buffered result object or
Notes
Examples
See mysqli_multi_query.
See Also
mysqli_real_query
MySQL Improved Extension (Mysqli)
mysqli_store_result
mysqli_data_seek
Procedural style only: A link identifier returned by
mysqli_connect
FALSE
Note
mysqli_store_result
set (if the query was, for example an INSERT statement). This function also
returns
if the reading of the result set failed. You can check if you have
FALSE
got an error by checking if
returns a non zero value, or if
mysqli_errno
a non zero value. Also possible reason for this function returning
successful call to
mysqli_query
cannot be allocated). If
statement should have produced a non-empty result set.
Note
Although it is always good practice to free the memory used by the result of a
query using the
mysqli_free_result
sets using the
mysqli_store_result
function.
or
mysqli_init
if an error occurred.
returns
in case the query didn't return a result
FALSE
doesn't return an empty string, if
mysqli_error
can be too large result set (memory for it
mysqli_field_count
function, when transferring large result
this becomes particularly important.
2428
mysqli_field_count
FALSE
returns a non-zero value, the
link
returns
after

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents