Re: Pager_Sliding using strings?

From: Date: Thu, 24 Jul 2003 18:07:04 +0000
Subject: Re: Pager_Sliding using strings?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6801@lists.php.net to get a copy of this message
On Thu, 24 Jul 2003 15:39:23 +0100, Davey wrote: > Hey, > > I'm trying to setup a pager using Pager_Sliding that instead of > using ints uses strings as the page ids... > > So for example, I have this array of names: > > $names[0] = "John Doe"; > $names[1] = "Davey Shafik"; > $names[2] = "Joe Bloggs"; > > and I want this pager: > > << <a href="pager.php?entrant=John%20Doe">John Doe</a> | > <b>Davey > Shafik</b> | <a href="pager.php?entrant=Joe%20Bloggs">Joe > Bloggs</a> >> > > Is this possible? I fear not. But if you can elaborate this a bit more, maybe I could understand what you want to do and how you're trying to do it, and give you a better answer. My guess however is that your design decisions could be somewhat different, because you're trying to use a Pager for something it wasn't designed for. Please let me know what you want to do *exactly* (the more details, the better). Best regards, Lorenzo

« previous php.pear.general (#6801) next »