Ok guys/gals
I have database for a membership community site that I'm working on building.. and I want members to have private messages. I will have a frame located in the top lefthand corner that will refresh every minute to display a number which will indicate how many UNread messages that user currently has. This is how my database will be structured.
+--------+----------+-- ------+----------+-----+
| messID | fromUSRID | toUSRID | Subject | Text |
+--------+----------+------ --+----------+-----+
hope that makes sense... oh and by the way.. should I structure my table in that way? do you think it's wise?
But anyhow... how can I get the page that refreshes to show the number of messages that user has not read yet? If you need me to clear anything up, feel free to ask.