AkbarReaper Posted January 9, 2015 Share Posted January 9, 2015 I have made a mutual friend system like facebook and it shows all the mutual friends but sometimes it shows it twice because your 2 friends might be friends with one person so it echos the same person twice so i wanna only show the person once and the most repeated should show on the top and the less repeated person should show at bottom! Quote Link to comment https://forums.phpfreaks.com/topic/293772-mutual-friend-system/ Share on other sites More sharing options...
AkbarReaper Posted January 9, 2015 Author Share Posted January 9, 2015 Please Help! Quote Link to comment https://forums.phpfreaks.com/topic/293772-mutual-friend-system/#findComment-1502245 Share on other sites More sharing options...
budimir Posted January 9, 2015 Share Posted January 9, 2015 Can you show us you're code? It's hard to tell this way. Quote Link to comment https://forums.phpfreaks.com/topic/293772-mutual-friend-system/#findComment-1502249 Share on other sites More sharing options...
Barand Posted January 9, 2015 Share Posted January 9, 2015 (edited) 1. Don't hijack other people's posts. http://forums.phpfreaks.com/topic/293752-function-to-search-for-replaced-numbers/?do=findComment&comment=1502247 2. Don't be so bloody impatient and bump your post after only 1 minute! 3. You will also need to show your data structure 4. Good luck. Edited January 9, 2015 by Barand 1 Quote Link to comment https://forums.phpfreaks.com/topic/293772-mutual-friend-system/#findComment-1502256 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.