Posts by Rogger • 31 points
1 post
-
3
votes1
answer1552
viewsQ: How to connect to an existing Sqlite database using PDO?
I want to connect to a database that already exists using PDO and sqlite in PHP, and here is the code I have: class Database extends PDO{ public function __construct(){ parent::__construct("sqlite:…