Page 1 of 1

financial transactions of a php project

Posted: Sun Aug 01, 2010 1:05 pm
by heshan
Hi all,

I have some financial transactions to perform in my system like cash deposits, withdrawals etc.I have built my system using PHP and MySQL. Can someone explain me how can i use rollback operations if something failure occurs?

Heshan.

Re: financial transactions of a php project

Posted: Sun Aug 01, 2010 3:27 pm
by superdezign
Rollbacks are generally handled by the database. The most common method for doing so that I've seen is to make the queries atomic by using stored procedures.