chiprivers Posted August 22, 2007 Share Posted August 22, 2007 I would like to set up a very simple chat room for my daughter to use with her friends. I am reasonably competent in PHP and MySQL and was wondering if anybody could suggest a simple way to create a script. The obvious way using what I alredy know would be to have the page auto refresh at regular intervals but I can think of several disadvantages of having the chat updated in this way. Is there an alternative way to update new message without refreshing the whole page? Quote Link to comment https://forums.phpfreaks.com/topic/66226-chat-script/ Share on other sites More sharing options...
phpSensei Posted August 22, 2007 Share Posted August 22, 2007 PHP can't do such a thing. Maybe Javascript... Quote Link to comment https://forums.phpfreaks.com/topic/66226-chat-script/#findComment-331247 Share on other sites More sharing options...
piznac Posted August 22, 2007 Share Posted August 22, 2007 I would look into AJAX,.. using it to make your http calls to php.... Quote Link to comment https://forums.phpfreaks.com/topic/66226-chat-script/#findComment-331248 Share on other sites More sharing options...
phpSensei Posted August 22, 2007 Share Posted August 22, 2007 Wouldnt This Mean Creating An Acutall Program Like Msn? Quite Difficult For A Beginner. Quote Link to comment https://forums.phpfreaks.com/topic/66226-chat-script/#findComment-331252 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.