sqlite_open(no version information, might be only in CVS) sqlite_open -- Opens a SQLite database. Will create the database if it does not existDescriptionresource sqlite_open ( string filename [, int mode [, string &error_message]])Returns a resource (database handle) on success, FALSE on error. The filename parameter is the name of the database. It can be a relative or absolute path to the file that sqlite will use to store your data. If the file does not exist, sqlite will attempt to create it. You MUST have write permissions to the file if you want to insert data or modify the database schema. The mode parameter specifies the mode of the file and is intended to be used to open the database in read-only mode. Presently, this parameter is ignored by the sqlite library. The default value for mode is the octal value 0666 and this is the recommended value to use if you need access to the errmessage parameter. errmessage is passed by reference and is set to hold a descriptive error message explaining why the database could not be opened if there was an error.
See also sqlite_popen(), sqlite_close() and sqlite_query(). |
Ecommerce shopping carts Events management projects Affiliates systems Large sized web projects Real estate and vacation rental projects Asp.net and c# projects |
|
|
Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 the PHP Documentation Group. Web design and webdevelopment and programming done by Software developers and web programmers
Web Design Copyright © 1999-2007. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |