How to display new database entrys instantly using AJAX

Hi there, i am currently making a system that requires to display a new database entry seconds after it was inputted into the database. i have a script that partly does this but it gets a whole list of the database entries and not just the latest one.

i have the scripts ready to post if you would like to see them.

thanks Beer :slight_smile:

Why donโ€™t you modify the script to fetch only the last record or apply a clause where it filters, say, records that have been saved in the last 5 minutes or so (if your records have a saveddate field).

HTH

Iโ€™m not really good at Javascript this is why i got a script.