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 15

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

57
lượt xem
7
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Friends and Relationships Relationships Our relationships table needs to relate two users together, as well as record the type of relationship. Since some relationships require mutual consent, we need to indicate if the non-requesting user accepted the request to connect. The following is a suitable structure for our relationships table: Field ID Type Usera Userb Accepted Type Integer, Primary Key, Auto Increment ID Integer Integer Boolean Description A unique ID for the relationship between the two users The type of relationship (a reference to the relationship_types table) The user who initiated the relationship, a relation to the users table The user who usera...

Chủ đề:
Lưu

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

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD


ERROR:connection to 10.20.1.100:9315 failed (errno=111, msg=Connection refused)
ERROR:connection to 10.20.1.100:9315 failed (errno=111, msg=Connection refused)

 

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