Need AJAX to query database, and if new content, pull it up?

Discussion in 'Digital Media' started by thety2, Mar 20, 2008.

  1. thety2 Guest

    I'm using a MySQL database, and I have a page that will have new information every couple of seconds, and I don't want to have to refresh it. How can I implement Ajax to automatically detect if there is new content, and if there is, to load it. I don't want it to refresh the page, just load the new content and display it. Also, if there is no new content, I don't want it to do anything.


Share This Page