DB_common::execute() (Previous) (Next) DB_common::freePrepared()

Last updated: Sun, 16 May 2004

DB_common::executeMultiple()

DB_common::executeMultiple() -- Runs a prepared SQL statment for each element of an array

ïÐÉÓÁÎÉÅ

Automatically passes the information in $data (a multi-dimensional array) to execute(), which then runs the SQL statment you submitted to prepare().

ðÁÒÁÍÅÔÒ

resource $stmt

query handle from prepare()

array $data

a numeric array containing the data to insert into the query

÷ÏÚ×ÒÁÝÁÅÍÏÅ ÚÎÁÞÅÎÉÅ

mixed - a new DB_result object for queries that return results (such as SELECT queries), DB_OK for queries that manipulate data (such as INSERT queries) or a DB_Error object on failure

úÁÍÅÔËÁ

üÔÁ ÆÕÎËÃÉÑ ÎÅ ÄÏÌÖÎÁ ×ÙÚÙ×ÁÔØÓÑ ÓÔÁÔÉÞÅÓËÉ.

Внимание

If an error occurs during execution, the function will be stopped. Possible remaining data will be unprocessed.

DB_common::execute() (Previous) (Next) DB_common::freePrepared()

Download Documentation Last updated: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà