My site is build on PHP and MySQL. I want to use JSON to save new messages like 开发者_高级运维comments or something so that they could be pushed to the client instantaneously and it can also save the scarce database sources.
How to do that?THX!
Using JavaScript/AJAX to send and retrieve messages from the client to the server. See jQuery AJAX.
精彩评论