开发者

What's the best way to build a user to user messaging feature in codeigniter?

e.g. like emailing but in a website..

I've googled and can't seem to find 开发者_如何学编程anything.


On a basic level, and sticking to the email analogy, you could store messages in a database. An example schema would include

message_id, sender_id, recipient_idS, subject, body, date_sent, read_status

You would have a user table, which is where the sender and recipient id's come from.

I've googled too, and found this to send your way: http://www.pixel2life.com/publish/tutorials/608/simple_private_messaging_system/

What kind of website are you building? What purpose does user messaging serve there? These pieces of information may affect how people answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜