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!
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.