I don't know if I described this properly before. I was talking to my friend about it a couple nights ago, and he said that it's more like a "shoutbox" which describes it a lot better. Basically, a user posts messages to a constantly updating page/frame.
Could you give me some more information please? Are you loosing the text stored in the database?
No, the text in the database is fine.
If the text box is part of a form (ie. within the open and close form tags) then you will be able to use $_POST to read the value that was submitted. In theory.
Yes, the text is part of a form. I didn't think a $_POST statement would work for this as the page reloads every three seconds. I don't know how to explain in words why it wouldn't work, but in my head I can see that i won't...
Just in summary: Using a mySQL database while the system is small wont cause too much lag on page loading. Once there are 500 or 1000 messages, with new ones constantly being added, the load will become noticable...
I hope not to have more than 500 messages displayed all at once. I'm going to try to figure out a way to remove the earliest messages as the board starts to get to 100 lines or more.
Anyways, I think I've figured out a way to accomplish (mostly) everything I want. I'm going to use an iframe in which all the messages will be displayed. That way I can just update the iframe without losing any text in the textbox. Hopefully that should work. :?