You are here: Pagination Proving Problematic « PHP Programming Language « IT news, forums, messages
Pagination Proving Problematic

Posted by Chris W on 09/20/06 09:21

Firstly, I apologise for the subject.

Secondly, I am having problems with my paging code for a website I am
developing. The code works, but not how I would like it and I cannot
fix the problems with it to get it how I would like it. So I am
reaching out in to the community to try and get some assistance for
people more versed in PHP than I am.

Basically, the code works as found on
http://www.houseoftype.co.uk/intershoe/gabor/products.php

I didn't know where to start so I found a tutorial on PHPFreaks
(http://www.phpfreaks.com/tutorials/43/1.php)

The problems I am having stem from the formatting of the code.
Currently, the active page is the one that comes right after 'Prev'. I
would like this to appear in the middle as the disagram below (without
the brackets):

< Prev 1 2 3 (4) 5 6 7 Next >

Also, as you scroll to the end of the list, the pages listed get
smaller and smaller until there is only 1 left being displayed.

If there is anyone who can help me I would be most grateful. The php
for the page can be found here:
http://pastebin.com/790442

Thank you.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация