(PHP 5)
mysqli_autocommit(no version information, might be only in CVS)
mysqli->auto_commit -- Turns on or off auto-commiting database modificationsProcedural style:
bool mysqli_autocommit ( object link, bool mode)Object oriented style (method)
class mysqli {mysqli_autocommit() is used to turn on or off auto-commit mode on queries for the database connection represented by the link object.
Note: mysqli_autocommit() doesn't work with non transactional table types (like MyISAM or ISAM).
To determine the current state of autocommit use the SQL command 'SELECT @@autocommit'.
Example 2. Procedural style
|
The above examples would produce the following output:
Autocommit is 1 |
Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples |
Copyright © 2004 Evrsoft Developer Network. Privacy policy - Link to Us |
Contact Evrsoft |