How can security with PDO or what is the equivalent PDO this secure function?
function secure($string){
return(mysql_real_escape_string(htmlspecialchars(strip_tags($string))));
}
How can security with PDO or what is the equivalent PDO this secure function?
function secure($string){
return(mysql_real_escape_string(htmlspecialchars(strip_tags($string))));
}
Man PHP: you have to use the function PDO::quote()