Just create a database with the name chat2 and import the uploaded sql files . One table is for login while the other is for chat message exchange. After Update #1 Things to fix :
- Looks ugly.Fix UI .
- Integrate the Log-In functionality.
- Using session , eliminate the filling part for the sender name .
- Using JS onclick menthod , identify the other country clicked and fill the receiver name dynamically.
- Main aim is to make the sender and the receiver text boxes hidden and fill them up dynamically by using the points 3 and 4 .
After Update #2 Things to fix : Fixed all the above issues . The new bugs are :
- Still Looks ugly.Fix UI .
- On clicking the country button the previous chat data should load up. - Done!
- Make dynamic database for the user on login . If he has previouly done a log in then check for existing DB.
- Find out a way to notify the user of new messages.