betz            Sat May 25 11:27:20 2002 EDT

  Modified files:              
    /phpdoc/en/reference/mysql/functions        mysql-escape-string.xml 
  Log:
  example correction
  
Index: phpdoc/en/reference/mysql/functions/mysql-escape-string.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.3 
phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.4
--- phpdoc/en/reference/mysql/functions/mysql-escape-string.xml:1.3     Thu Apr 18 
14:47:41 2002
+++ phpdoc/en/reference/mysql/functions/mysql-escape-string.xml Sat May 25 11:27:19 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
   <refentry id="function.mysql-escape-string">
    <refnamediv>
@@ -32,13 +32,12 @@
      </simpara>
     </note>
     <example>
-     <title><function>mysql_real_escape_string</function> example</title>
+     <title><function>mysql_escape_string</function> example</title>
      <programlisting role="php">
 <![CDATA[
 <?php
-    $link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
     $item = "Zak's Laptop";
-    $escaped_item = mysql_real_escape_string($item);
+    $escaped_item = mysql_escape_string($item);
     printf ("Escaped string: %s\n", $escaped_item);
 ?>
 ]]>


Reply via email to