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.
Jump to Post
You 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
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.