I am running my PHP file locally on a WAMP server. Right now it works if the SQLite .db file is on the WAMP server, but as soon as I reference a .db file that isn't on the WAMP server then it can't find it. I have looked everywhere and can't find a similar issue. Here is where I create the .db file:
class MyDB extends SQLite3{
function __construct(){
$this->open('J:/scoreboard/SQLite/production_scoreboard.db');
}
}
$db = new MyDB();
I get a PHP error for the line that is opening the .db file.