note 35181 added to function.sqlite-array-query
| From: | php-general at lists dot php dot net | Date: | Fri, 22 Aug 2003 13:12:10 +0000 |
| Subject: | note 35181 added to function.sqlite-array-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54866@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+35181
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35181&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35181&report=yes