Hi to all, sorry this is my first post so sorry if it seems a little strange, thanks. I need to create a messaging service for my site. Members can view other members profiles throughout my site. When members come accross other other members on the site, i want them to be able to click a PM button under each user's photo that they see. I then want to be able to send the person a Private Message. My question is, how would i go about creating such a system. I have created a section called my PMs under each users "My Account" section so i also need advice how to display the PM's that they recieve. Please can you give me as much advice as possible as i really really need to get this working as soon as possible, thanks to all who helped in advance, thanks, Jack
setup a private_messages table in your database with an id, a user id, the message, an enum field set to 0 or 1 for not read or read, who it's from and the time of the message. when the page loads for the user that is logged in scrape the table for any messages with the same user id as the user and if he has any marked as not read, let him know. otherwise don't do anything.