hep making mysql query
#1

Hi, i tryed to make mysql query which:

Checks if 'volt' = 1 ant if that than it decrease's `voltcount` by 1. And the last check if `voltcount` <= 0 than 'volt' = 0

but it's just not working. May anyone generate such query? If you can't write a code give an example of codes i should use. Thanks.
Reply


Messages In This Thread
hep making mysql query - by ajwar - 22.01.2012, 14:25
Re: hep making mysql query - by Sinner - 22.01.2012, 15:13

Forum Jump:


Users browsing this thread: 3 Guest(s)