Can we use JavaScript to do that? I think no, because it's a client side scripting language.
So, is there any other way to connect to the database using only HTML5?
I can connect using PHP/MySQL. But without that, is it possible?
Take a look at this. Its HTML5 + JavaScript for connecting to the database.
Code: Select all
http://stackoverflow.com/questions/8338116/using-javascript-in-an-html5-page-to-connect-to-an-sqlite-database