I made a chat application, here is the update code
setInterval(function() { $('#DisplauDiv').load('show-chat.php?session=<?php echo $_GET['session'];?>'); }, 1000);
And this will continue every second, which will slow down my Mysql. Although I tickle Facebook (firebug), they have nothing like this to get a response from the server.
Tell me how to do it.
Thanks in advance for reading and reproducing this.
source share