I create a simple box where user type his message to his friend and friend reply.
So the INSERT operation works, now we need to show all messages from previous chat when user selected.
So, on every 5 seconds this function will be called and it will display updated status on web page.
This file is also requested in every 5 seconds by jQuery.
It can help for customers can access the banks website for viewing their Account details and perform the transactions on account as per their requirements.