• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
db query problem

#5
[eluser]CroNiX[/eluser]
You should use transactions for this kind of thing. If the first update doesn't work, it won't try the second. If the second update fails, it will roll-back the first update so neither get updated.


Messages In This Thread
db query problem - by El Forum - 02-24-2012, 06:03 AM
db query problem - by El Forum - 02-24-2012, 08:53 AM
db query problem - by El Forum - 02-24-2012, 09:49 PM
db query problem - by El Forum - 02-24-2012, 11:59 PM
db query problem - by El Forum - 02-25-2012, 11:02 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.