Changes

Jump to: navigation, search

PHP and SQLite

1 byte added, 18:22, 13 June 2007
Creating an SQLite Datbase with PHP
SQLite has a number of advantages such as speed, simple storage (avoiding the need for complex database administration) and interoperability with other databases such as MySQL and PostgreSQL.
== Creating an SQLite Datbase Database with PHP ==
An SQLite database can be opened or created using the PHP ''sqlite_open()'' function. This function accepts one mandatory and two optional arguments. The first argument is the database name (which, by convention, is given a .sqlite file extension). The second argument specifies option UNIX file permission settings. The final argument represents an error message to display if the file cannot be opened.

Navigation menu