note 58173 deleted from ref.pdo-sqlite by sean
| From: | sean@php.net | Date: | Wed, 22 Feb 2006 17:43:48 +0000 |
| Subject: | note 58173 deleted from ref.pdo-sqlite by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104241@lists.php.net to get a copy of this message | ||
Note Submitter: joelwan at gmail dot com
----
For those wondering what the actual syntax to establish a PDO connection to a sqlite dabase is,
it's simply:
$Database = new PDO('sqlite:test.db'); //where test.db is your sqlite database placed in
the same folder as your script