note 105922 added to ref.pdo-sqlite
| From: | HayleyWatson at osu1 dot php dot net | Date: | Mon, 26 Sep 2011 02:31:32 +0000 |
| Subject: | note 105922 added to ref.pdo-sqlite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183424@lists.php.net to get a copy of this message | ||
If there is anyone using PDO to interface with SQLite and wondering how to create an SQLite database
to begin with; if they're thinking they'll have to detour into one of the other SQLite
interfaces to get the job done - nope!
PDO does need a SQLite database file to exist before it can connect, but that file can be a
completely empty one; so a single touch() is enough to create a brand new virgin SQLite database
ready to receive your CREATE TABLE statements.
----
Server IP: 202.89.58.1
Probable Submitter: 219.88.69.196
----
Manual Page -- http://www.php.net/manual/en/ref.pdo-sqlite.php
Edit -- https://master.php.net/note/edit/105922
Del: integrated -- https://master.php.net/note/delete/105922/integrated
Del: useless -- https://master.php.net/note/delete/105922/useless
Del: bad code -- https://master.php.net/note/delete/105922/bad+code
Del: spam -- https://master.php.net/note/delete/105922/spam
Del: non-english -- https://master.php.net/note/delete/105922/non-english
Del: in docs -- https://master.php.net/note/delete/105922/in+docs
Del: other reasons-- https://master.php.net/note/delete/105922
Reject -- https://master.php.net/note/reject/105922
Search -- https://master.php.net/manage/user-notes.php