Hello!
I 'm building chat with php and I have one little problem. I'm using MySQl
to store messages and chat usernames. Messages are in table chat_messages and users are in table chat_users.
Chat uses frames, so there's upper frame for the chat messages and lower frame where is message box and submit button. Now new messages are updated to upper frame by refreshing upper frame in every 8 seconds. I use meta tag for that. But I've seen chats which uses some kind of "live feed" from database to browser.
How I can do with php and mysql this kind of solution? I tried to do that but I
allways got never ended loop which hung my browser.
I know that there is lots of chats available made with php but
I want to do my own =)