summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2002-03-24 17:57:32 +0000
committerGeorg Richter <georg@php.net>2002-03-24 17:57:32 +0000
commitc47244cd8a55fb59bedc9b1ef07b397c5adb28d7 (patch)
tree48537790f27f04c2a567374969a313b19961f21e /ext/mysql/php_mysql.c
parent4211c9fed246196b3ccb43743cccc52777725670 (diff)
downloadphp-git-c47244cd8a55fb59bedc9b1ef07b397c5adb28d7.tar.gz
changed prototype for mysql_real_escape_string
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;