Look at the documentation for the relevant database application. I believe there are many options for what you mentioned. You can use ODBC and PHP to connect to Access for example. Javascript is client-side so you probably won't be using that, PHP/AJAX is server-side.