Hi, Friday, June 15, 2007, 9:53:24 PM, you wrote: > I know very little about PHP ... however, I am hoping that there is some > kind of preset " open source" php code that I might be able to use. There is the Pear pagination package which can do this, although not quite in the way you want it done in your example. Search pear.php.net for it if you want. > - An 'include page' that might store an array of the list of pages such as: > start array... > pos1 = page1.htm > pos2 = page17.htm > pos3 = page5.htm > etc..... > stop array... > - then a variable could be set for the current page such as: > thispage = 2 - Place on the array equals position 2 (page17.htm) Can I take it from this example that your pages should not be in sequence then? I.e. instead of going page1, page2, page3, instead they should go page1, page17, page5, etc? If so, why? :) Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk "Never trust a computer you can't throw out of a window" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php