financial transactions of a php project

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
heshan
Forum Commoner
Posts: 26
Joined: Tue Jul 13, 2010 1:16 pm

financial transactions of a php project

Post 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.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: financial transactions of a php project

Post 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.
Post Reply