0
I asked this question yesterday, I got the answer I wanted, I’ll be straight and straight:
I have the query:
UPDATE users SET time = time - 1
time is the type int and receives as default value 0, in my PHP code I made a scheme where the user clicks on the add button 1800 in the value of time and the query event up there goes into action, it turns out that when it gets to 0 it starts counting -1,-2,-3...-1800 etc, wanted to make it crash when it gets to 0
How can I do this?
Thank you saved my life and my brother’s kkkk he ta creating a website and me another, detail: left as
UNSIGNED– Matheus Borjes