note 14386 added to ref.mysql.php
| From: | mbabcock-php at fibrespeed dot net | Date: | Sat, 28 Jul 2001 23:41:52 +0000 |
| Subject: | note 14386 added to ref.mysql.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16004@lists.php.net to get a copy of this message | ||
Since there aren't functions to start and end/rollback transactions, you'll have to use
mysql_query("BEGIN"), mysql_query("COMMIT") and
mysql_query("ROLLBACK"). These will only work properly on tables that support
transactions. You may also wish to roll your own mysql_begin (etc) functions that run the above
queries for you.
http://www.php.net/manual/en/ref.mysql.php