document sqlite_query behaviour

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@158498 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Stanislav Malyshev 2004-05-13 14:32:21 +00:00
parent 3d39c07323
commit 4c0b87584e

View file

@ -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