Hi,

could someone please point me in the right direction for creating an AJAX page that displays "live" data from a mysql database ?

I need the page to update its self every time data changes in a mysql table.

Thanks,
Mark H.

You can set your js to refresh every once in a while to recover the latest data from the database. Create a dataset to read the results from the db, and another one to store the one that was used last, and compare the new one with the last one used. If changed, update the values in your page, else, don't do anything.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.