hi there,
i just need to update a field within my table either +1 or -1. Is there s.th. like $a++, as known from most programming languages, in MySQL queries too? ...so that i wouldnt have to "select" the value first and then insert "value+/-1"?
...so saving one step/querry?
thx
Duncan McLord
set value = value + 1
oh...
cool, didnt know its that easy! 🙂
thx a lot,
Manuals are your friends...
lol...
yeah, i know that... and also searched for "++" , "+", ... but there was an awesome lot of info...
so, even it may sound lame to u, but Hilton's answer really helped me out 🙂
regards,