Cetanu Posted August 27, 2009 Share Posted August 27, 2009 I was wondering how exactly the syntax for START TRANSACTION is. I've seen it all over the internet, and I need to use it, but I dunno how. The examples I've seen are confusing and I don't think they're for MySQL databases. o_o Basically I need to do this: Have value: 30 (or something) --> Subtract x amount --> Reset original value when needed. I was told I can use Transactions, but how?! Link to comment https://forums.phpfreaks.com/topic/172204-start-transaction/ Share on other sites More sharing options...
fenway Posted September 7, 2009 Share Posted September 7, 2009 You're close... I assume you're using innodb? Link to comment https://forums.phpfreaks.com/topic/172204-start-transaction/#findComment-914126 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.