use one status field in ur database table. change the status for the displayed messages.
you have to retrieve only the not displayed messages by checking the status field.
you can list all messages without considering the status field for "view history" option as well.
|