There is an error in function reference. Sentence is:
mysql_real_escape_string() calls MySQL's library function
mysql_escape_string, which prepends backslashes to the following
characters: NULL, \x00, \n, \r, \, ', " and \x1a.
http://www.php.net/mysql_real_escape_string
But MySQL manual f
vrana Tue May 3 04:52:15 2005 EDT
Modified files:
/phpdoc/en/reference/mysql/functionsmysql-real-escape-string.xml
Log:
No NULL; calls mysql_real_escape_string (spotted by Kaspars Foigts)
http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions
Kaspars Foigts wrote:
> Note that NULL within strings is NOT encoded in any way. And again -
> PHP interpreter calls mysql_real_esacpe_string, NOT
> mysql_escape_string.
Fixed. Please fix a bug report next time.
Jakub Vrana