You must make sure your tables are Innodb.
Then just use the same commands as SQL direct uses.
EG: mysql_query("begin"); mysql_query("commit"); ...
http://us3.php.net/mysql
http://dev.mysql.com/doc/mysql/en/InnoDB.html
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
|