Difference between revisions of "Db free result" From Online Manual

Jump to: navigation, search
Line 12: Line 12:
  
 
<noinclude>
 
<noinclude>
[[Category:Database Functions]]
+
[[Category:Database Functions]]</noinclude>
[[Category:2.0]]
 
[[Category:Customizing SMF]]
 
[[Category:Developing SMF]]</noinclude>
 

Revision as of 16:49, 8 October 2012

Usage:

$smcFunc['db_free_result'] (result)


Description: works exactly as mysql_free_result, the function will free the memory used by the recourse $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);