Hi friends! i'm currently work on a chatting system that requires me to list all the user friends, so i need a code that will help me navigate throw the freinds list one after the other. thanks!

Recommended Answers

Please post some code so we can see what its all about.

Jump to Post

All 3 Replies

Please post some code so we can see what its all about.

Member Avatar

@poskypozze

Hi friends! i'm currently work on a chatting system that requires me to list all the user friends, so i need a code that will help me navigate throw the freinds list one after the other. thanks!

You mean the same feature like what Facebook have:

http://allfacebook.com/facebook-friend-list-edit_b61487

My advice is to hired someone to do this! I don't Daniweb member will provide a code like that.

Member Avatar

This is relatovely trivial. You need a friends DB table:

user_id | friend_id | status

Something like that. You just retrieve rows where user_id or friend_id = particular value and status = accepted. Use INNER JOINs to get the real names.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.