03-10-2016, 12:12 AM
Of course you may use it, but I'm not sure if it's really SQL injection free. That's why I advice against it.
My new code can be found here
The queries are stored in a name called "Queries" here
These are loaded here. Then you can execute them with this piece of code. Then you can call the query with parameters like this. Parameters inside queries are noted with a dollar sign ($) in front of it.
You can modify it so queries don't have to be stored in separate files. I did that with WorldEdit.
My new code can be found here
The queries are stored in a name called "Queries" here
These are loaded here. Then you can execute them with this piece of code. Then you can call the query with parameters like this. Parameters inside queries are noted with a dollar sign ($) in front of it.
You can modify it so queries don't have to be stored in separate files. I did that with WorldEdit.