From c47244cd8a55fb59bedc9b1ef07b397c5adb28d7 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sun, 24 Mar 2002 17:57:32 +0000 Subject: changed prototype for mysql_real_escape_string --- ext/mysql/php_mysql.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/mysql/php_mysql.c') 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; -- cgit v1.2.1