PEAR Manual
Prev |  | Next

# MDB_Common::prepareQuery()

MDB_Common::prepareQuery() -- prepares a SQL statment

## Synopsis

    require_once 'MDB.php';

``resource prepareQuery` (string $query)`

## Description

Prepares a query for execution with executeQuery() .

## Parameter

string `$query`

  the query to prepareQuery

## Return value

`resource` - the query handle

## Note

This function can not be called statically.

See Introduction - Execute for general using and an example.

## See

executeQuery() , executeQuery()

Prev | Home | Next
MDB_Common::numRows() | Up | MDB_Common::query()