MDB_Common::prepareQuery()

MDB_Common::prepareQuery() – prepares a SQL statement

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.