hãy thử mysql_real_escape_string (). sẽ hoạt động! https://php.net/manual/en/ Chức năng .mysql-real-Escape-string.php