Tales Posted June 7, 2015 Group: Members Topic Count: 163 Topics Per Day: 0.03 Content Count: 319 Reputation: 8 Joined: 02/05/12 Last Seen: January 11, 2016 Share Posted June 7, 2015 What's wrong with this code? I dont see any change on my sql table query_sql("UPDATE `char` SET `mvp_point` = 'mvp_point+1' WHERE char_id = '"+escape_sql( getcharid(0) )+"'"); Quote Link to comment Share on other sites More sharing options...
Capuche Posted June 7, 2015 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted June 7, 2015 Maybe because of the quotes 'mvp_point+1' ? query_sql("UPDATE `char` SET `mvp_point` = mvp_point+1 WHERE char_id = '"+ getcharid(0) +"'"); 1 Quote Link to comment Share on other sites More sharing options...
Question
Tales
What's wrong with this code? I dont see any change on my sql table
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.