I'm writing some C++ functions for ease of coding mySQL apps, in this case I'm writing a function to filter text that a user would input.
Other then these quotes: ' '
And these quotes: ``
What are other chars I should be watching out for or escaping?
Currently my code is just turning ' into \' and ` into \' as well. (it checks to see if there's already a \ there)
Anything else I should be checking out for as far as SQL injections or otherwise DB breaking goes?
Other then these quotes: ' '
And these quotes: ``
What are other chars I should be watching out for or escaping?
Currently my code is just turning ' into \' and ` into \' as well. (it checks to see if there's already a \ there)
Anything else I should be checking out for as far as SQL injections or otherwise DB breaking goes?