Patch mysqli_real_escape_string for Documentation problem Bug #55757
Patch version 2011-09-21 15:01 UTC
Return to Bug #55757 |
Download this patch
Patch Revisions:
Developer: theanomaly.is@gmail.com
--- real-escape-string.xml 2010-06-02 15:04:30.000000000 -0400
+++ real-escape-string.xml.new 2011-09-21 08:06:00.000000000 -0400
@@ -137,6 +137,18 @@
</example>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ If you're used to using <function>mysql_real_escape_string</function> function it's important to
+ note that the arguments of <function>mysqli_real_escape_string</function> are backwards from what
+ mysql_real_escape_string expects. Since the link identifier comes first in mysqli_real_escape_string
+ whereas the string comes first in mysql_real_escape_string.
+ </para>
+ </note>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
|