Re: [PHP] Alphabetical pagination (RESOLVED)

2009-07-16 Thread Martin Scotta
On Thu, Jul 16, 2009 at 12:01 PM, Miller, Terion < tmil...@springfi.gannett.com> wrote: > > One question I still have...I had help with this script of course and I'm > confused with the %s what does it do? > > On 7/16/09 9:53 AM, "Martin Scotta" wrote: > > > On Thu, Jul 16, 2009 at 11:01 AM, Andr

Re: [PHP] Alphabetical pagination (RESOLVED)

2009-07-16 Thread Miller, Terion
One question I still have...I had help with this script of course and I'm confused with the %s what does it do? On 7/16/09 9:53 AM, "Martin Scotta" wrote: On Thu, Jul 16, 2009 at 11:01 AM, Andrew Ballard wrote: On Thu, Jul 16, 2009 at 9:33 AM, Miller, Terion wrote: > > Here is what finally w

Re: [PHP] Alphabetical pagination (RESOLVED)

2009-07-16 Thread Martin Scotta
On Thu, Jul 16, 2009 at 11:01 AM, Andrew Ballard wrote: > On Thu, Jul 16, 2009 at 9:33 AM, Miller, > Terion wrote: > > > > Here is what finally worked: > > > > = isset($_GET['letter']) ? $_GET['letter'] : "A"; > //alphabetical pagination links >

Re: [PHP] Alphabetical pagination (RESOLVED)

2009-07-16 Thread Andrew Ballard
On Thu, Jul 16, 2009 at 9:33 AM, Miller, Terion wrote: > > Here is what finally worked: > >     isset($_GET['letter']) ? $_GET['letter'] : "A";                               >                          //alphabetical pagination links                       >                                  echo '

Re: [PHP] Alphabetical pagination (RESOLVED)

2009-07-16 Thread Miller, Terion
Here is what finally worked: '; foreach(range('A','Z') as $c){ ($letter == $c) ? printf('%s ',$c)