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

View this page in Last updated: Sun, 29 Jun 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DB_common::prepare()

DB_common::prepare() -- Prépare une requête SQL pour exécution future

Description

Prépare une requête pour être exécuter avec execute().

Paramètres

chaîne de caractères $query

la requête SQL à préparer

Valeur retournée

resource - la requête à traiter ou un objet DB_Error en cas d'erreur.

Note

Cette fonction ne peut pas être appelée de façon statique.

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

Download Documentation Last updated: Sun, 29 Jun 2008
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 = ?".