shortysbest Posted July 11, 2010 Share Posted July 11, 2010 Im building a social networking site and i want to have a comment notification that alerts the user when they have a new comment. I'm wondering how i should go about doing this, such as how my database should look. Link to comment https://forums.phpfreaks.com/topic/207438-best-way-to-make-a-phpmysql-notification-system-like-facebook/ Share on other sites More sharing options...
freelance84 Posted July 11, 2010 Share Posted July 11, 2010 Alert how, by email? one way would be A user types message to another user, when they click post it posts the message but also sends an email out to the recipient too using mail(); Link to comment https://forums.phpfreaks.com/topic/207438-best-way-to-make-a-phpmysql-notification-system-like-facebook/#findComment-1084522 Share on other sites More sharing options...
shortysbest Posted July 11, 2010 Author Share Posted July 11, 2010 the notification on the site itself, like on facebook at the top bar. Link to comment https://forums.phpfreaks.com/topic/207438-best-way-to-make-a-phpmysql-notification-system-like-facebook/#findComment-1084523 Share on other sites More sharing options...
freelance84 Posted July 11, 2010 Share Posted July 11, 2010 In the members table have a "new message" field. This could be a 1 or a 0. If 1 then there is a new message. When the script runs it get the "new message" content and displays your notification or not Link to comment https://forums.phpfreaks.com/topic/207438-best-way-to-make-a-phpmysql-notification-system-like-facebook/#findComment-1084524 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.