svn: /phpdoc/en/trunk/reference/mysqli/mysqli/ real-escape-string.xml
| From: | Peter Cowburn | Date: | Thu, 22 Sep 2011 10:23:50 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqli/mysqli/ real-escape-string.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8841@lists.php.net to get a copy of this message | ||
salathe Thu, 22 Sep 2011 10:23:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=317146
Log:
note on parameter order (doc #55757, thanks Sherif Ramadan)
Bug: https://bugs.php.net/55757 (Assigned) mysqli vs.
mysql_* use of real escape string
Changed paths:
U phpdoc/en/trunk/reference/mysqli/mysqli/real-escape-string.xml
Modified: phpdoc/en/trunk/reference/mysqli/mysqli/real-escape-string.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/mysqli/real-escape-string.xml 2011-09-22 09:58:45 UTC (rev
317145)
+++ phpdoc/en/trunk/reference/mysqli/mysqli/real-escape-string.xml 2011-09-22 10:23:50 UTC (rev
317146)
@@ -137,6 +137,20 @@
</example>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ For those accustomed to using <function>mysql_real_escape_string</function>,
+ note that the arguments of <function>mysqli_real_escape_string</function>
+ differ from what <function>mysql_real_escape_string</function> expects.
+ The <parameter>link</parameter> identifier comes first in
+ <function>mysqli_real_escape_string</function>, whereas the string to be escaped
+ comes first in <function>mysql_real_escape_string</function>.
+ </para>
+ </note>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>