How i can open a database using this line:
$db = new PDO('sqlite:mydb.sqlite');
if my db not in this directory?
Use the same scheme, but put the full path.
sqlite:/path/to/db.sqlite
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With