0
chat room
i want to make a chat room, my problem is for example a person send text, then the text will be insert at $textchat and it will display at table(where the table show all the chat), if i do like that the $textchat can only hold 1 data where the chat has many data. so i want it store many data and show the result like online chat.
5 Réponses
0
use html to handle user chat input and php file handling to create a .txt file and write data into it for new chats and just reading and writing data for existing chats.
0
emm, any more idea without using JavaScript?
0
use html for submitting form with user input catch it with php and use file handling in php it's very easy
0
yes i already using php as database, but it required much data, also the page need to be refresh like 5 to 20 second where the problem when user insert text and it already 5 to 20 second the page will refresh and empty the box(problem using php)
0
can you post your code I'll help you out