![]() |
|
#1
|
|||
|
|||
How do I start a list in the middle?Let's just say I have a list of 85 users in my database. Each user is ranked 1-9 randomly*. I want the viewer to see his name right in the middle of 15 other people around his status. Right now I have it where it lists 15 people, starting with the highest ranked, and you are able to click from page to page to see everyone, there are 6 pages totaly... fyi.
if nothing else, sign up at my game and go to "List of players" to see what I mean. http://www.mysticcrusade.com *Actually it's their level in a game where no one has passed level 9 yet. |
|||
|
#2
|
||||
|
||||
Re: How do I start a list in the middle?Could you please explain what you mean by "seeing his name right in the middle of 15 other people around his status"?
|
|
#3
|
|||
|
|||
Re: How do I start a list in the middle?there are alot of ways you can do it.
you can make two queries, first query take the member position and second query use first query position to select 7 lines from before and after the member position. second way of doing this is inserting all selected rows into an array, then use for() loop. example: PHP Code:
hope this help you good luck... |
|
#4
|
||||
|
||||
Re: How do I start a list in the middle?I kind of like the way your list is now.
I noticed the "Show All" feature doesn't really show everyone. |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Urgent ! Pls Help Me ! | mycashmoney | C Programming Language | 4 | 01-Jul-2006 23:49 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
| linked list error message | Krandygrl00 | C++ Forum | 4 | 22-Jun-2005 15:13 |
| search linked list | itsmecathys | C++ Forum | 20 | 18-Apr-2005 02:34 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The