You need help with this, please thanks
Deprecated: mysql_escape_string (): This function is deprecated; use mysql_real_escape_string () instead. in C: \ wamp64 \ www \ crudmvc \ app \ Controller.php online 29
protected function getSql($clave){
if(isset($_POST[$clave]) && !empty($_POST[$clave])){
$_POST[$clave] = strip_tags($_POST[$clave]);
if(!get_magic_quotes_gpc())
$_POST[$clave] = mysql_escape_string($_POST[$clave]);
return trim($_POST[$clave]);
}
}