|
PHP5中文手册
sqlite_factory(PHP 5) sqlite_factory — Opens a SQLite database and returns a SQLiteDatabase object 说明
SQLiteDatabase sqlite_factory
( string $filename
[, int $mode
[, string &$error_message
]] )
sqlite_factory() behaves similarly to sqlite_open() in that it opens an SQLite database or attempts to create it if it does not exist. However, a SQLiteDatabase object is returned rather than a resource. Please see the sqlite_open() reference page for further usage and caveats. 参数
返回值Returns a SQLiteDatabase object on success, NULL on error. 范例
Example#1 sqlite_factory() example
<?php |