You should really be using prepared statements as opposed to quote() where possible to prevent SQL Injections.I use PDO::quote() to avoid sql injections, but with ckeditor I have a problem that adds "\r\n" to my string, how can I solve it? I use ckeditor 4.13.0 and PHP 5.6
You should really be using prepared statements as opposed to quote() where possible to prevent SQL Injections.
But the function you're looking for isYou must be registered for see links, that'll remove the "\r\n" from your string.
Using the quote function is just more code that does less.Thank you very much for your reply, I use both the prepared statements and the quote function for more protection. I report it as a problem solved.