html - Storing data in SQLite and allowing users to access and modify it using their browser -


first of all, apologize if question has been answered elsewhere. if has, maybe couldn't comprehend solution looking for. i've looked through every relevant stackoverflow question find, believe me.

so plan is, i'm creating website university allows users post description of lost items. need store data somewhere, , allow finders of these lost items access these descriptions , contact ones lost it. have sqlite, question (you have figured out i'm pretty noob) can store data receive users in sqlite database , allow others view same using data in database located in machine? @ possible? if so, how go achieving required functionality? in particular:

  1. how make when submit button pressed, data input users stored in database.
  2. how can let others view stored in database?

that said, if has better solution achieving same goal, i'm ears.

p.s. i'm versed in java , html, know little javascript , little sql. if goal can reached using these languages only, super.

edit: requested, more details:

the html code looks (this not code website. basically, code lets add text html page when type in in input field , hit 'add item'. want text stay, when page refreshed goes away.):

<!doctype html> <html> <head> <script type="text/javascript"    src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js">    </script> <script> $(document).ready(function(){     $('button').click(function(){         var toadd = $("input[name=lostitem]").val();         $('.list').append("<p>" + toadd + "</p>")         $()     });   }); </script>  <title> ub lost , found </title>  </head>  <body>  <h2>enter details of lost items: </h2> <form name = "lostform"> <input type = "text" name = "lostitem"> </form> <button><div id = "button">add item</div></button> <div class = "list"></div>  </body> 


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -