I am designing a php,Ajax chat application with Mysql back-end.Its working fine.I wanna add an extra feature in this apps.I wanna show the users who is present in the chat room.When some one left the chat room it should write XXXX has left the chat room and his/her name should be omitted from the online users Box.
Thank you.
debasishgang7
0
Junior Poster in Training
Recommended Answers
Jump to PostYou could simply create a function in the ajax that, when a user clicks "Log Off", sends a general message to the chat daemon letting users know that xxxx has logged off and updates their online status via php call.
Sorry for no code, but I have absolutely NO …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.