From 31d2d6d27a5381550e4e59a032bb4680f0da203f Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Thu, 22 Sep 2011 10:23:50 +0000 Subject: [PATCH] note on parameter order (doc #55757, thanks Sherif Ramadan) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317146 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/mysqli/real-escape-string.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/reference/mysqli/mysqli/real-escape-string.xml b/reference/mysqli/mysqli/real-escape-string.xml index f6324afa47..44abfaf678 100644 --- a/reference/mysqli/mysqli/real-escape-string.xml +++ b/reference/mysqli/mysqli/real-escape-string.xml @@ -137,6 +137,20 @@ Error: 42000 + + &reftitle.notes; + + + For those accustomed to using mysql_real_escape_string, + note that the arguments of mysqli_real_escape_string + differ from what mysql_real_escape_string expects. + The link identifier comes first in + mysqli_real_escape_string, whereas the string to be escaped + comes first in mysql_real_escape_string. + + + + &reftitle.seealso;