34,333
edits
Changes
→Creating an SQLite Database with PHP
== Creating an SQLite Database with PHP ==
<google>ADSDAQBOX_FLOW</google>
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.