[PHP-DOC] Error in manual: mysql_real_escape_string

2005-05-03 Thread Kaspars Foigts
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

[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-real-escape-string.xml

2005-05-03 Thread Jakub Vrana
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

Re: [PHP-DOC] Error in manual: mysql_real_escape_string

2005-05-03 Thread Jakub Vrana
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