intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Tạo mạng xã hội với PHP - part 25

Chia sẻ: 123 321 | Ngày: | Loại File: PDF | Số trang:10

61
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ủ đề:
Lưu

Nội dung Text: Tạo mạng xã hội với PHP - part 25

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2