summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 9ad70d3e90..970abc2b5a 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -1509,7 +1509,8 @@ PHP_FUNCTION(mysql_escape_string)
/* }}} */
/* {{{ proto string mysql_real_escape_string(string to_be_escaped, [int link_identifier])
- Escape string for mysql_query */
+ Escape special characters in a string for ise in a SQL statement, taking into account the
+ current charset of the connection */
PHP_FUNCTION(mysql_real_escape_string)
{
zval *mysql_link = NULL;