Hi, this is irphan . i am creating social networking site and need a friend system like facebook] . i don't have any idea aout this .can anyone help me?kindly tell me how many tables would require to manage friend system and how can i manage them. i am working in php.this help w'll be highly appreciated.thanks
Jump to Post
What i did for one of my previous sites was to have just one table named "friends" and then have the following columns:
id | friendTo | friendFrom | status
So when a user send a friend request your PHP files inserts the following row to your table …
All 4 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.