3 //-------------------------------------------------------------------
5 function begin_transaction()
7 db_query("BEGIN", "could not start a transaction");
10 function commit_transaction()
12 db_query("COMMIT", "could not commit a transaction");
15 function cancel_transaction()
17 db_query("ROLLBACK", "could not cancel a transaction");