DB_common::prepare()

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

Áttekintés

resource prepare (string $query)

Leírás

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

Paraméterek

string $query

the query to prepare

Visszatérési érték

resource - the query handle or a DB_Error object on failure

Megjegyzés

Ez a függvény nem hívható statikusan.

Példa

Lásd

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