What is the function that is currently being used in PDO to escape special characters before executing a SQL statement?
Before starting to use PDO I was using real_escape_string (), in addition to others that are used to clean strings such as strip_tags (), htmlespecialchars () and others.
I do not know if real_escape_string can still be used in PDO or only for the mysqli driver