joined:May 30, 2009
I am having a problem with the below:
When user write something in a textbox and sends it then this text is added to DB using AJAX and then shown on his screen using AJAX return as it is too much easy but problem is that how I will let the Admin know that any new message is received, well the admin is also connected to chat but I can update a user's screen on the event of INSERTING A MESSAGE TO DATABASE but how could I know the admin of this message. I have following idea in my mind to let the admin knows about it.
I am waiting for your helpful replies.
Thanks in Advance.