Grow your CSS skills. Land your dream job.

PHP-General – Change Status of a Message from Read to Unread

  • # May 15, 2013 at 6:18 pm

    How do you implement the option to change status of a Message in our admin section from “Read” to “Unread” ? Is that really hard to do ?

    We receive messages in our admin section and once a message is read we would like to be able to change the status of the message from “read” back to “Unread”.

    Is that a rather easy thing to do or complicated ?

    Thank you !

    # May 16, 2013 at 12:33 am

    > Is that really hard to do ?

    Who knows? Depends on how sharp your coding skills are. If you have no idea where to start, my best guess is that it will be a “learning experience” for you, and maybe fairly difficult.

    You need to provide more details. What kind of software do you use? WordPress? another CMS? a “home-grown” script? How are your messages stored? How is your “admin section” designed? What programming language does it use?

    *Assuming* your messages are stored in a database, there is likely a field in the table which indicates the status of each message. Making a message “unread” again would simply be a matter of changing the value in that field. As I said, however, it’s not possible to give a more useful answer without more information.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".