Autoupdate mysql with jquery


I have a query and a php loop that outputs all the rows from a database.

If there is a new entry in the database, how can I use jQuery to update the output without refreshing the page?

You would need to use an Ajax-based technique to poll a PHP script on a regular basis, so that any new information can then be retrieved by the page.