Leic Posted April 10, 2018 Group: Members Topic Count: 18 Topics Per Day: 0.01 Content Count: 48 Reputation: 0 Joined: 02/27/18 Last Seen: May 3, 2018 Share 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 Link to comment Share on other sites More sharing options...
0 Akkarin Posted April 10, 2018 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: April 15 Share Posted April 10, 2018 Your query is completely wrong. https://dev.mysql.com/doc/refman/5.7/en/update.html Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.