Subject Re: [firebird-php] problems with ibase_free_result
Author Lester Caine
domanovic wrote:

> function ibase_session_destroy($sessionID) {
> global $sess_table;
> global $db_session;
>
> $query = "DELETE FROM $sess_table WHERE SID = '$sessionID'";
> $result = ibase_query($db_session, $query);
> ibase_free_result($result);
> ibase_commit();
> //return(true);
> } // end ibase_session_destroy()

ibase_free_result() will free up the memory used but the array of fields
from a 'SELECT'. You do not need it with 'DELETE' as it simple returns
true or false - there is no result_set to free.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services