Tạo mạng xã hội với PHP - part 15
lượt xem 7
download
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...
Bình luận(0) Đăng nhập để gửi bình luận!
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)