Jump to content

Correct way of doing something such as this.


Recommended Posts

Posted

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 ) 

Posted

try this : ( just added AND)

executeSQLQuery("DELETE FROM HeretricsGunStorage WHERE location = ? AND weapon = ?", location,id ) 

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...