PHP mysqli_free_result() Function
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