PEAR Manual
Prev |  | Next

# MDB_Common::freeResult()

MDB_Common::freeResult() -- delete the result set

## Synopsis

    require_once 'MDB.php';

``boolean freeResult` (resource $result)`

## Description

Deletes the result set and frees the memory occupied by the result set.

## Parameter

resource `$result`

  A valid resource returned by query() or executeQuery()

## Return value

- `boolean` - Returns `TRUE` on success, `FALSE` on failure.

## Note

This function can not be called statically.

Prev | Home | Next
MDB_Common::fetchInto() | Up | MDB_Common::getAll()