note 35180 added to function.sqlite-array-query
| From: | andrey@php.net | Date: | Fri, 22 Aug 2003 13:09:47 +0000 |
| Subject: | note 35180 added to function.sqlite-array-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54865@lists.php.net to get a copy of this message | ||
As well as :
array sqlite_array_query ( resource dbhandle, string query [, int result_type [, bool
decode_binary]])
also valid proto is :
array sqlite_array_query ( string query, resource dbhandle [, int result_type [, bool
decode_binary]])
so :
$r = sqlite_array_query("SELECT COUNT(*) from words", $db);
and
$r = sqlite_array_query($db, "SELECT COUNT(*) from words");
are equivalent. The same possibility of parameters interchange is true also for sqlite_query()
----
Manual Page -- http://www.php.net/manual/en/function.sqlite-array-query.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35180
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35180&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35180&report=yes