Best way to sanitize/escape PDO data?
As I work on another project, I encountered a MySQL error that I'd assumed has to do with the use of an unescaped single quote. Should I use addslashes(), sanitize filters, or some other option? What would be the best way?
Coding is a challenge, get used to it
Always remember to debug
Try the guess & check method
Break it down into simple steps
Last edited by elitis; 01-14-2013 at 11:23 PM..