Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Do I need some sort of algorithm in my chat system ? So far I have in my page I'm building turned out to be a "what's your status" type of feature, like FaceBook has... I didn't mean for that although I can use that for status updates... but it still isn't working properly because I have it in a session variable so when the user comes back to the status post from the user is no where to be found. I am still stuck on creating the chat system. Does anyone know where to make a chat system from scratch using PHP ? I have looked on the web and youtube but I only found some ajax and jquery for making a chat system, but I am learning php and not ajax and jquery. Or can someone explain how code for a chat system works. I tried using a for loop but it outputs just one post for the length of the message was. Or do I need php socket library for this chat system ?

share|improve this question

closed as not constructive by John Conde Dec 21 '12 at 15:00

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

Browse other questions tagged or ask your own question.