Is there a tutorial out there which shows you how to refresh a DIV upon a MySQL change? Like to show only the MySQL records above a certain timestam开发者_开发问答p and/or ID?
I agree with the comments.
But, you can try to experiment an event-driven server side technology. For example, node.js
(based on websockets).
Your client stays listening till an event occurs (database insert), and then, you can reload your div.
This is theory, but I'm sure you can do it this way.
But, as Marco said it, the best way is to set intervals to your refresh (poll method).
Regards.
精彩评论