I am trying to get a total so I can calculate the number of total pages I need to display all the users friends like the page_1 page_2 page_3.... links at the top. example 586 /100 I would place pages 1-6 at the top for people to select the one they want.
Is there a way just to get the total friends as one varilablethat I could then use to calculate the total of pages of friends the viewer has.
Is there also any way to sort the people, by online or by last login?