stas            Thu May 13 10:32:22 2004 EDT

  Modified files:              
    /phpdoc/en/reference/sqlite/functions       sqlite-query.xml 
  Log:
  document sqlite_query behaviour
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-query.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/sqlite/functions/sqlite-query.xml
diff -u phpdoc/en/reference/sqlite/functions/sqlite-query.xml:1.5 
phpdoc/en/reference/sqlite/functions/sqlite-query.xml:1.6
--- phpdoc/en/reference/sqlite/functions/sqlite-query.xml:1.5   Mon Jul 21 12:44:20 
2003
+++ phpdoc/en/reference/sqlite/functions/sqlite-query.xml       Thu May 13 10:32:21 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <refentry id="function.sqlite-query">
  <refnamediv>
   <refname>sqlite_query</refname>
@@ -60,7 +60,11 @@
    <simpara>
     SQLite <emphasis>will</emphasis> execute multiple queries separated by
     semicolons, so you can use it to execute a batch of SQL that you have
-    loaded from a file or have embedded in a script.
+    loaded from a file or have embedded in a script. However, this works only
+    when the result of the function is not used - if it is used, 
+    only the first SQL statement would be executed. Function
+    <function>sqlite_exec</function> will always execute multiple SQL 
+    statements.
    </simpara>
    <simpara>
     When executing multiple queries, the return value of this function

Reply via email to