Product Documentation

FairCom SQL for PHP

Previous Topic

Next Topic

ctsql_free_result

Frees the result memory for a query.

Declaration

bool ctsql_free_result ( resource queryID)

Description

ctsql_free_result() is only necessary if you are concerned about how much memory is used for queries that return large result sets. All associated result memory is automatically freed at the end of the script’s execution.

ctsql_free_result() will free all memory associated with the result identifier queryID.

Returns

Returns TRUE on success or FALSE on failure.

TOCIndex