PHP + Javascript + MySQL

I was wondering if it was possible to combine the 3 meaning. Could I have a basic html button which accesses javascript which then asks PHP to update the mysql Database without having to refresh the page to do so? I don’t know if this is possible?

My main goal is basically to update the database without having to refresh the page.

Depends of how complex is your plan for the applications. Anyway to reduce amount of js code you could use a js library like jQuery or prototype etc. This way tasks like ajax are accomplished much faster (time to wrote the code)

Take a look at AJAX :slight_smile:

It stands for Asynchronous Javascript and XML