View Full Version : help with...

12-25-2003, 07:19 AM
hey everyone,

im making an email thingy... users on the website click "email us" then a form comes up, they fill it out, send it, and it goes into the database. Then when the admin logs into it, I want it to say "New Message" and then once they click on the link to view the new message, it will be read as read so the message wont pop up...

Like hotmail, or whatever..

hope this makes sense.


12-26-2003, 12:52 AM
You might wanna choose a more descriptive title, or else, you might want to specify what exactly you need info on or help with ....

12-26-2003, 05:07 PM
It is not hard, all you need to do is add another column in the database and make it a flag.

Make it 0 for unread and 1 for read

When the "email" is added to the database you set the flag to 0

When the person views the mail then you update the flag to 1