Mysql to string. Mysql_real_escape_string(). mysqli_real_escape_string. real sql. escape identifier.