|
PHP5中文手册
maxdb_autocommitmaxdb->auto_commit(No version information available, might be only in CVS) maxdb->auto_commit — Turns on or off auto-commiting database modifications 说明Procedural style:
bool maxdb_autocommit
( resource $link
, bool $mode
)
Object oriented style (method) maxdb
bool
auto_commit
( bool $mode
)
maxdb_autocommit() is used to turn on or off auto-commit mode on queries for the database connection represented by the link resource. 返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce no output. |