note 35180 rejected from function.sqlite-array-query by didou
| From: | didou@php.net | Date: | Fri, 22 Aug 2003 13:12:41 +0000 |
| Subject: | note 35180 rejected from function.sqlite-array-query by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54868@lists.php.net to get a copy of this message | ||
Note Submitter: andrey@php.net
----
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()