i want to implement the mails functionality for my website. same as that of facebook/inbox.
like users can talk on a single topic. what should i need to do with database. ie. which kind of our database should be for that functionality.
i am very new to php . please tell .
Facebook Inbox
Moderator: General Moderators
Re: Facebook Inbox
If you are on a PC I would download Wamp and work with MySQL.
Re: Facebook Inbox
For development purposes, install a automated installation for a WAMP (Windows, Apache, MySQL, PHP) system.
I find the best one is EasyPHP because it's very lightweight.
You will probably want to create 2 tables.
Tables:
In the tblMessages table you want fields such as message ID, message header ID, message, creator, time created.
And then you can just add the messages in tblMessages and headers into tblMessageHeaders and join them together using LEFT JOIN or something similar when fetching them from the database.
I find the best one is EasyPHP because it's very lightweight.
You will probably want to create 2 tables.
Tables:
- tblMessageHeaders
- tblMessages
In the tblMessages table you want fields such as message ID, message header ID, message, creator, time created.
And then you can just add the messages in tblMessages and headers into tblMessageHeaders and join them together using LEFT JOIN or something similar when fetching them from the database.