Reputation: 45
Php is able to find the database i created with javascript, but php is unable to find the table and (therefore the data) i made with javascript.
Opening db in php
$dbhandle = sqlite_open('db.sqlite', 0666, $error);
Opening db in javascript
db = openDatabase('db.sqlite', '1.0', 'db.sqlite', 65536);
I hope i provided enough information, if more code is required please let me know.
Upvotes: 0
Views: 189
Reputation: 4778
Javascript is client side, while PHP is server side.
You will need to keep seperate databases and sync them
Upvotes: 2