MDB_Common::execute() (Previous) (Next) MDB_Common::executeMultiple()

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

MDB_Common::executeQuery()

MDB_Common::executeQuery() -- executes a prepared SQL statement

Description

executeQuery() joins the prepared SQL statement from prepareQuery() with the data that was set using one of the setParam() methods and executes the SQL query.

Parameter

resource $stmt

query handle from prepareQuery()

array $types

if supplied, the types of the columns in the result set will be set for fetching

Return value

mixed - a resource id/MDB_OK or a MDB_Error, if fail

Note

This function can not be called statically.

See Introduction - Execute for general using and an example.

MDB_Common::execute() (Previous) (Next) MDB_Common::executeMultiple()

Download Documentation Last updated: Sun, 20 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.