Im trying to view database on my web app. The problem here is that it does not view from SQLite. rather view database from chrome add-ons. Is there any way for me to view SQlite databse using Jscript?
1 Answer
There is no way to directly access an arbitrary SQLite database via client side JavaScript running in a web browser.
If your database exists on a webserver, then you can write an HTTP based API (ideally one that is RESTful) and interact with it via the XMLHttpRequest object.
2 Comments
user1629618
hello there. thank you for replying. just another question. do you need a server when you run php script?
Quentin
In the context on the WWW: yes. You can also write standalone programs (that don't involve a web browser) in PHP … although it would be far from my first choice.