Pager_Sliding using strings?

From: Date: Thu, 24 Jul 2003 14:39:23 +0000
Subject: Pager_Sliding using strings?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6791@lists.php.net to get a copy of this message
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? perhaps its a feature that needs adding? I need this pager working asap so I hope it is possible, if not I'm going to need to hack something up using the DB id key (which are a) not sequential and b) not the only data and do not start from 1) so I'd rather not do that - Davey

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