On Fri, Jul 31, 2009 at 3:10 PM, Miller, Terion<tmil...@springfi.gannett.com> wrote: > > > > On 7/31/09 2:00 PM, "Miller, Terion" <tmil...@springfi.gannett.com> wrote: > > > > > On 7/31/09 1:56 PM, "Bastien Koert" <phps...@gmail.com> wrote: > > $letters = ''; > > Nope still gives the same error: Notice: Undefined index: letter > > Well getting closer with this but now my output menu is not a clickable link? > > $letter = > isset($_GET['letter']) ? $_GET['letter'] :""; > //Create array with letters AND number sign > $letters = range('A','Z'); > array_push($letters, '#'); > $menu = ''; foreach($letters as > $letter) { $menu .= ($letter) > ? sprintf('%s', $letter) : sprintf('<a > href="browse.php?letter=%s">%s</a> ', $letter, $letter); > } echo "<div > align=\"center\"><b>{$menu}</b><br /></div>"; >
check the view source for the link to see what is happening to make it fail -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php