Leic Posted April 10, 2018 Posted April 10, 2018 query_sql "UPDATE `count` = `count` -- FROM `test`"; i wanted my script to run decrease 1 value until 0 seems im having a had time on scripting this. thanks on future replies Quote
0 Akkarin Posted April 10, 2018 Posted April 10, 2018 Your query is completely wrong. https://dev.mysql.com/doc/refman/5.7/en/update.html Quote
Question
Leic
query_sql "UPDATE `count` = `count` -- FROM `test`";
i wanted my script to run decrease 1 value until 0 seems im having a had time on scripting this. thanks on future replies
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.