nlopess         Thu Oct  5 13:45:36 2006 UTC

  Modified files:              
    /phpdoc/en/reference/mysqli/functions       mysqli-stmt-prepare.xml 
  Log:
  fix example (user note)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.3 
phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.4
--- phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.3    Fri Nov 
12 14:01:04 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml        Thu Oct 
 5 13:45:36 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
   <refentry id="function.mysqli-stmt-prepare">
    <refnamediv>
     <refname>mysqli_stmt_prepare</refname>
@@ -142,7 +142,7 @@
 $city = "Amersfoort";
 
 /* create a prepared statement */
-$stmt = mysqli_stmt_init();
+$stmt = mysqli_stmt_init($link);
 if ($stmt = mysqli_stmt_prepare($stmt, "SELECT District FROM City WHERE 
Name=?")) {
 
     /* bind parameters for markers */

Reply via email to