Hello im making a basic chat like a shoutbox kind of and i have a few frames - Onlinelist, Message and chat window. In message you can type something but it dosnt appear on the chat window how do i do this?
It's posting the message to your script so I wouldn't be worrying about the submit button.
1) Is the script processing the messages being posted actually saving the message? Do you store it in a db or a file? Is the message showing up where it's meant to be?
2) If it is being saved properly then look at the script showing the messages.
Well you'd need to make sure that you have a database available. Create your tables and connect to it from your scripts. Depending on which database you have you would use different functions in php. Check out the manual.
I think you'd probably be better off using a premade shoutbox if your skills aren't quite up to it. Unless you want to learn.
Bookmarks