N/APosted on - 02/05/2013
I already have a website with webchat enabled in it. All I need is a simple how to procedure or step by step guide on creating mysql chat application, to chat with logged members on the website. All suggestions are welcome.
Need Help Creating MySQL Chat Application
Hi Max Quintyne,
A simple chat script using PHP and mysql database will allow users to select a username, enter message and see other visitors’ messages.
The application is developed by creating a table which stores nick name (user name), user id, message text, copy of the following text and paste on mysql editor or console.
Insert the following values after creating the table:
insert into chat
Values (0,’roselinda’, ‘hello all’);
Roselinda will be the default user who can log in and chat. You can create more users.
Now you should create a view to store the last valid records in order to display the messages.