jquery/ajax load new content when available
Posted
by Tim
on Stack Overflow
See other posts from Stack Overflow
or by Tim
Published on 2010-05-07T13:41:48Z
Indexed on
2010/05/07
13:58 UTC
Read the original article
Hit count: 162
I know this is quite a vague question -- sorry about that. If I have a forum, shoutbox or something similar where users enter and submit data, running on PHP and MySQL, what is the best way to have the newly submitted content automatically display on the page for all users when it is submitted?
Much like a live newsfeed, if you like... The effect sort-of works here at stackoverflow, when you are answering a question you are told when new answer is submitted. I want to test for newly submitted content and then display it automatically.
Any suggestions? Many thanks :)
© Stack Overflow or respective owner