In inbox link i want to show how many massage are in it,in such a way if in inbox there are 20 messages and only 5 are unread then to be shown in that link.
like this Inbox(5).
Also in inbox if message is unread to be highlighted,meaning all 5 message to be highlighted.
How can i do this,i`ve seen this in facebook and other dating sites.
Anyone to help me please.
mrcniceguy
5
Posting Whiz in Training
Recommended Answers
Jump to PostCouldn't you just have a status field in your message object? This could be used to determine whether a message has been read, unread, deleted, caught by spam filter etc.
Jump to PostYou have to sort unread messages out with your own index. For example you save all read messages (with POP every mail as a unique ID defined by the server) in a simple text-file. When the user logges in you catch all emails from the server and compare the IDs …
All 5 Replies
darkagn
315
Veteran Poster
Featured Poster
mrcniceguy
5
Posting Whiz in Training
sDJh
39
Posting Whiz in Training
R0bb0b
344
Posting Shark
mrcniceguy
5
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.