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

Jump to: navigation, search
(Created page with "{{smcfunc |function=db_free_result |usage=$smcFunc['db_free_result'] (result) |description=works exactly as [http://php.net/mysql_free_result mysql_free_result], the function wi...")
 
Line 1: Line 1:
 
{{smcfunc
 
{{smcfunc
 
|function=db_free_result
 
|function=db_free_result
 +
|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], the function will free the memory used by the recourse $result.

Revision as of 15:18, 26 July 2011

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);