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


execute() joins the prepared SQL statment from prepareQuery() with the given data and executes the SQL query.


resource $stmt

query handle from prepareQuery()

array $types

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

array $params

a numeric array containing the data to insert into the query

array $param_types

if supplied, the values in $param will automatically be set to the passed datatypes

Return value

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


This function can not be called statically.

© Copyright 2003-2014 The ultimate PHP Editor and PHP IDE site.