MS Access Database using Client Side script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sunlis
    New Member
    • Jun 2007
    • 2

    #1

    MS Access Database using Client Side script

    I need to find a way to communicate with a MS Access database using Javascript, PHP, or some other client-side scripting.
    It's for a Computer Science exam, and I cannot solve this problem.
    Users need to be able register using an html form, and then also be able to login.
    I know approximately zero javascript/php, and all I have as of now is a script that I found here earlier today, found here.

    ANY help would be greatly appreciated, as I've been working on this problem for days, and have not made much progress.

    -Sunlis
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Javascript is client-side and PHP is server-side. PHP can communicate with an Access database using ODBC functions. Perhaps you should read up on a tutorial in both Javascript and PHP (you can start with the ones at W3Schools).

    To access the database on the client-side, you will need to use Ajax (again, the tutorial can be found on the site linked above). Since, Javascript cannot communicate directly with a database, you get it to communicate with a PHP script which can instead.

    Go through the tutorials. That should get you started. Then make an attempt and if you get stuck, post again here.

    Comment

    Working...