From: Georg Richter Date: Sun, 24 Mar 2002 17:57:32 +0000 (+0000) Subject: changed prototype for mysql_real_escape_string X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1061 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c47244cd8a55fb59bedc9b1ef07b397c5adb28d7;p=php changed prototype for mysql_real_escape_string --- 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;