Tạo mạng xã hội với PHP - part 25
61
lượt xem 6
download
lượt xem 6
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Public and Private Messages Sent {inbox_sentFriendlyTime} Message {inbox_message} Mark as read Once a user has read a message, we should update the database to indicate that the message has been read, so that the user can see at a glance which of their messages are new and unread, and which ones have already been read. However, for privacy reasons, we shouldn't show this information to the sender of the message. To do this, we simply set the read property on the model to 1, and save the record, as illustrated by the changes to viewMessage...
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
CÓ THỂ BẠN MUỐN DOWNLOAD