nlopess         Fri Feb  2 22:06:12 2007 UTC

  Modified files:              
    /phpdoc/en/reference/mysqli/functions       mysqli-stmt-prepare.xml 
  Log:
  fix 2nd example (user note)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml?r1=1.6&r2=1.7&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.6 
phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.7
--- phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.6    Sun Jan 
28 04:25:58 2007
+++ phpdoc/en/reference/mysqli/functions/mysqli-stmt-prepare.xml        Fri Feb 
 2 22:06:12 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <refentry id="function.mysqli-stmt-prepare">
  <refnamediv>
   <refname>mysqli_stmt_prepare</refname>
@@ -148,7 +148,7 @@
 
 /* create a prepared statement */
 $stmt = mysqli_stmt_init($link);
-if ($stmt = mysqli_stmt_prepare($stmt, "SELECT District FROM City WHERE 
Name=?")) {
+if (mysqli_stmt_prepare($stmt, 'SELECT District FROM City WHERE Name=?')) {
 
     /* bind parameters for markers */
     mysqli_stmt_bind_param($stmt, "s", $city);

Reply via email to