|
(PHP 5)
mysqli_autocommit(no version information, might be only in CVS)
mysqli->autocommit -- Turns on or off auto-commiting database modificationsProcedural style:
bool mysqli_autocommit ( mysqli 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.
Notatka: 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'.
Przykład 2. Procedural style
|
Powyższy przykład wyświetli:
Autocommit is 1 |
Poprzedni | Spis treści | Następny |
mysqli_affected_rows | Początek rozdziału | mysqli_bind_param |
Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:32