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
Published on 22-Feb-2018 15:29:17
Advertisements