Welcome Guest, Not a member yet? Register   Sign In
How does the db library work??
#4

[eluser]mddd[/eluser]
@minerbog:
noctrum's example does both in one go. It tells Mysql to take the current value of amount, and add $newamount to it. You don't need to get the amount first. It can be done in one call, no problem.


Messages In This Thread
How does the db library work?? - by El Forum - 07-16-2010, 07:27 AM
How does the db library work?? - by El Forum - 07-16-2010, 07:38 AM
How does the db library work?? - by El Forum - 07-16-2010, 08:06 AM
How does the db library work?? - by El Forum - 07-16-2010, 09:24 AM
How does the db library work?? - by El Forum - 07-17-2010, 03:46 AM
How does the db library work?? - by El Forum - 07-18-2010, 10:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB