i think you can use PEAR::PAGER modules. visit http://pear.php.net/ Very easy to install. and also available Pager wraper to minimize the database query load YUAN On 6/10/05, Eric Kandja <erickandja@xxxxxxxx> wrote: > Dear all, > > I know that someone has already done that. > I have a datable with several records but I need to show on my pageweb only > 20. > > I need on the bottom of pageweb after displaying the 20 records to have > that : > > << < 1 2 3 4 5 6 7 8 9 10 > >> on 56 pages for example. > > and if I click on 10 i need to have > > << < 2 3 4 5 6 7 8 9 10 11 > >> on 56 pages. > > I have a code which allows me to show all pages << < 1 2 3 .......56 > >> > but I want only displaying 10 pages. > > Anyone can have a code for that ? > > Kind regards. > > Eric > > > > PHP Data object relational mapping generator - http://www.meta-language.net/ > Yahoo! Groups Links > > > > > > > -- -------------------------------------------- Visit : http://www.sabukhitam.net/ http://www.sabukhtam.com/ ------------------------------------------- ====================== Rahasia Sukses Bisnis MLM Online No.1 di Indonesia http://www.rahasiasukses.com/ ====================== ======================= Internet Marketing Training http://www.internetmarketingskill.com/ -------------------------------------------------------- PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/