PHP: mysqli::real_escape_string – Manual
Presenting several UTF-8 / Multibyte-aware escape functions.These functions represent alternatives to mysqli::real_escape_string, as long as your DB connection and Multibyte extension are using the same character set (UTF-8), they will…