Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

DB_common::executeMultiple()

DB_common::executeMultiple() -- Repeated execution of a prepared SQL statment

Description

executeMultiple() joins the prepared SQL statment from prepare() with the given data and does the SQL query for every "row" in the $data array.

Parameter

resource $stmt

query handle from prepare()

array array $data

a numeric array containing the data to insert into the query

Return value

mixed - a new DB_result/DB_OK or a DB_Error, if fail

Note

This function can not be called statically.

Warning

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

See Introduction - Execute for general using and an example.

Who's Online
Guest Users: 14
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General