DB_common::prepare()

DB_common::prepare() -- Prepares a SQL statement for later execution

Synopsis

resource prepare (string $query)

Beschreibung

Gets a SQL statement ready so it can be run by execute().

Parameter

string $query

the query to prepare

Rückgabewert

resource - the query handle or a DB_Error object on failure

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Beispiel

Siehe auch

„Intro - Prepare & Execute“, „Intro - autoPrepare & autoExecute“, execute(), executeMultiple()