Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP mysqli_free_result() Function

PHP mysqli_free_result() Function

PHP MySQLi Reference Manual PHP MySQLi Reference Manual

Fetch rows from the result set, then free the result memory:

mysqli_fetch_array()

" ; } // free the result set mysqli_free_result ( $result ) ; } mysqli_close ( $con ) ; ?>

Definition and Usage

The mysqli_free_result() function frees the result memory.


Syntax

mysqli_free_result(

result

)

;

Parameters Description
result Required. Specifies the result set identifier returned by mysqli_query(), mysqli_store_result(), or mysqli_use_result().

Technical Details

Return Value: No value is returned.
PHP Version: 5+

PHP MySQLi Reference Manual PHP MySQLi Reference Manual