Please can any body help me with a simple script on how to write an ajax longing in php.
I doing some on chat and have been using the old polling. so I want to switch to long pooling. so the browser would only display messages when there is a new message in the database
Thanks for taking out time to read my post.