mysql transaction in php, how?

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
Betty_S
Forum Newbie
Posts: 20
Joined: Tue Dec 05, 2006 3:40 am

mysql transaction in php, how?

Post by Betty_S »

Hi everyone,
I want to perform a series action on the DB (insert, update, delete).
I know that I can put the in a transaction so I can be sure that either al actions succeed or all failed.
How can I do that in php?
Thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Post by dibyendrah »

Notice that transaction are only supported in MySQL by innoDB engine.
Post Reply