cvs: peardoc /en/package/database/mdb2 intro-quote.xml

[email protected] ("Lorenzo Alberton")
Newsgroups php.pear.doc
Message-ID <cvsquipo1190738117@cvsserver>
quipo		Tue Sep 25 16:35:17 2007 UTC

  Modified files:              
    /peardoc/en/package/database/mdb2	intro-quote.xml 
  Log:
  bug #12110: Use of query() while exec() should be used
  
http://cvs.php.net/viewvc.cgi/peardoc/en/package/database/mdb2/intro-quote.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/database/mdb2/intro-quote.xml
diff -u peardoc/en/package/database/mdb2/intro-quote.xml:1.6 peardoc/en/package/database/mdb2/intro-quote.xml:1.7
--- peardoc/en/package/database/mdb2/intro-quote.xml:1.6	Mon Aug 13 09:05:09 2007
+++ peardoc/en/package/database/mdb2/intro-quote.xml	Tue Sep 25 16:35:17 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 
 <refentry id="package.database.mdb2.intro-quote">
  <refnamediv>
@@ -41,7 +41,7 @@
     . $mdb2->quote($id,   'integer')   .', '
     . $mdb2->quote($name, 'text')      .', '
     . $mdb2->quote($time, 'timestamp') .')';
-$res =& $mdb2->query($query);
+$res =& $mdb2->exec($query);
 ?>
     ]]>
    </programlisting>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.