Re: [PHP] Re: Page or URL function? (RESOLVED)

2009-07-30 Thread Miller, Terion
I Figured it out using this: if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { $default = A; }

Re: [PHP] Re: Page or URL function? (RESOLVED)

2009-07-30 Thread Jim Lucas
Miller, Terion wrote: I Figured it out using this: if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { $default = A; }

Re: [PHP] Re: Page or URL function? (RESOLVED)

2009-07-30 Thread Ben Dunlap
Jim Lucas wrote: Miller, Terion wrote: I Figured it out using this: if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) { $default = A; } else { $default = ; } $letter = isset($_GET['letter'])? $_GET['letter'] :$default ; unless you are doing more then what you are showing above.