Db free result: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
mNo edit summary
Line 3: Line 3:
|order_position=5
|order_position=5
|usage=$smcFunc['db_free_result'] (result)  
|usage=$smcFunc['db_free_result'] (result)  
|description=works exactly as [http://php.net/mysql_free_result mysql_free_result], the function will free the memory used by the recourse $result.
|description=Works exactly as [http://php.net/mysql_free_result mysql_free_result]. Frees the memory used by the resourse $result.
|parameters={{parmdesc
|parameters={{parmdesc
   |result|d1=a query resource as returned by [[db_query]].
   |result|d1=a query resource as returned by [[db_query]].

Revision as of 14:29, 11 October 2012

Usage:

$smcFunc['db_free_result'] (result)


Description: Works exactly as mysql_free_result. Frees the memory used by the resourse $result.

Parameters:

  • result a query resource as returned by db_query.

Return: will return the exact same results as mysql_free_result.

Example:

$smcFunc['db_free_result']($request);



Advertisement: