RE: [PHP] splitting up search results, need som ideas. have done < 1 2 3 4 5 6 7 8 9 10 11 12 > stuff ..

From: Date: Fri, 26 Oct 2001 13:29:41 +0000
Subject: RE: [PHP] splitting up search results, need som ideas. have done < 1 2 3 4 5 6 7 8 9 10 11 12 > stuff ..
Groups: php.general 
Request: Send a blank email to php-general+get-72448@lists.php.net to get a copy of this message
Hi, I'm currently working on something like that. I had already done this but I need to find the file! I don't have time right now but I'll send you another email later :o) What do you think about using a form: input for max rows and drop-down for the 1 2 3... (for example: max rows=10; drop-down: 1, 11, 21, 31, ...) See you, Pascal -----Original Message----- From: Nicklas Bondesson To: php-general@lists.php.net Sent: 26/10/01 10:55 Subject: [PHP] splitting up search results, need som ideas. have done < 1 2 3 4 5 6 7 8 9 10 11 12 > stuff .. hi everybody! have done a function that splits up the search results into multiple pages and are displayed using a "scroll bar" like this: < 1 2 3 4 5 6 7 8 9 10 11 12 > what i need (when the database grows) is a function that limits the scrollbar to only show like 10 pages at a time. i can't have a scrollbar that looks like < 1 2 3 4 5 6 7 8 9 10 --> 1000 > i hope you understand what i mean here. otherwise i will try to explain it to you now. imagine that the search returns 30 pages. when i'm looking at page 1-5 i see a scrollbar that looks like < 1 2 3 4 5 6 7 8 9 10 >. the higher page number i reach the scrollbar should change and show me like < 8 9 10 11 12 13 14 15 16 17 18 19 20 21 >. are you with me now? :) all ideas are very welcomed ! if you want to see the code for the scrollbar so far, just send me an email and i will send it to you. i hope anyone have a simple solution for this ! best regards, nicke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#72448) next »