DB_Common::prepare()

DB_Common::prepare() -- prepares a SQL statment

Synopsis

require_once 'DB.php';

resource prepare (string $query)

Description

Prepares a query for execution with execute().

Parameter

string $query

the query to prepare

Return value

resource - the query handle

Note

This function can not be called statically

See Introduction - Execute for general using and an example.

See

execute() , execute()