Which PHP function is used to release cursor memory associated with MySQL result?

MySQLMySQLi DatabasePHP

PHP uses mysql_free_result() function to release the cursor memory associated with MySQL result. It returns no value.

Syntax

Mysql_free_result(result);

Followings are the parameters used in this function −

Sr.No
Parameter & Description
1
Result
Required- Specifies a result set identifier returned by mysql_query(), mysql_store_result() or mysql_use_result()
raja
Updated on 22-Jun-2020 14:06:01

Advertisements