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::execute()

DB_common::execute() -- Executes a prepared SQL statment

Description

execute() joins the prepared SQL statment from prepare() with the given data and does the SQL query.

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.

See Introduction - Execute for general using and an example.

Who's Online
Guest Users: 7
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