MDB_Common::executeQuery()

MDB_Common::executeQuery()

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

Description

executeQuery() joins the prepared SQL statment 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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.