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!

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

Member Avatar for LastMitch

@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 for diafol

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.