Is escape_sql necessary when using the script command query_sql?
I think it has something to do with SQL Injection within scripts. Is it needed everytime you query and update a DB with new info? like would I put +escape_sql at the end of the query?
ex:
query_sql "SELECT `credits` FROM `cp_votes` WHERE `account_id` = "+getcharid(3)+"",@credits;
Is escape_sql necessary when using the script command query_sql?
I think it has something to do with SQL Injection within scripts. Is it needed everytime you query and update a DB with new info? like would I put +escape_sql at the end of the query?
ex:
Share this post
Link to post
Share on other sites