(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)
Executes a query against a given database and returns a result handle
resource sqlite_query ( resource $dbhandle, string $query [, int $result_type = SQLITE_BOTH [, string &$error_msg ]] )
resource sqlite_query ( string $query , resource $dbhandle [, int $result_type = SQLITE_BOTH [, string &$error_msg ]] )
Object oriented style (method):
public SQLiteResult SQLiteDatabas