Captain Cody Posted July 10, 2016 Share Posted July 10, 2016 What would be the correct way of doing this, I'm reviving syntax errors with this. executeSQLQuery("DELETE FROM `HeretricsGunStorage` WHERE `location`=? `weapon`=?" , tostring(location),id ) Link to comment
Walid Posted July 10, 2016 Share Posted July 10, 2016 try this : ( just added AND) executeSQLQuery("DELETE FROM HeretricsGunStorage WHERE location = ? AND weapon = ?", location,id ) Link to comment
Captain Cody Posted July 10, 2016 Author Share Posted July 10, 2016 Ended up figuring that a bit after I wrote this then having the rewrite most of the SQL functions in the script I was working on because of some issues. But any ways, thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now