DB_common::nextQueryIsManip() (Previous) (Next) DB_common::provides()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DB_common::prepare()

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

Opis

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

Parametr

string $query

the query to prepare

Zwracana wartość

resource - the query handle or a DB_Error object on failure

Uwagi

Ta funkcja nie może być wywołana statycznie.

DB_common::nextQueryIsManip() (Previous) (Next) DB_common::provides()

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: user2037
It may not be obvious but you need to "escape placeholder characters" such as question marks, exclamation points, and ampersands when preparing a query. For example: "SELECT * WHERE a \!= FALSE AND b = ?".