mysql_escape_string
mysql_escape_string encodes a string using the default character set for safe use in SQL statements. Deprecated — use mysql_real_escape_string instead.
Last updated
Was this helpful?
mysql_escape_string encodes a string using the default character set for safe use in SQL statements. Deprecated — use mysql_real_escape_string instead.
unsigned long mysql_escape_string(char * to,
const char * from,
unsigned long);Escapes a string using the default character set.
This function is deprecated and will be discontinued. Please use mysql_real_escape_string() instead.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?
Was this helpful?

