0

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?

asked Aug 28, 2012 at 15:42
1

1 Answer 1

2

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.

answered Aug 28, 2012 at 15:45
Sign up to request clarification or add additional context in comments.

2 Comments

hello there. thank you for replying. just another question. do you need a server when you run php script?
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.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.