Page or URL function?

From: Date: Wed, 29 Jul 2009 21:06:45 +0000
Subject: Page or URL function?
Groups: php.general 
Request: Send a blank email to php-general+get-296032@lists.php.net to get a copy of this message
I've been searching php.net for a function to do this: if page_url('browse.php') { $default = "A"; } $letter = isset($_GET['letter'])? $_GET['letter'] :"$default" ; else { $letter = isset($_GET['letter'])? $_GET['letter'] :"" ; } I want to say if the page is browse, default to the A listings, if the page is not browse show no default listings (because there is other data on the page and I don't want this to output) I thought there was url functions....am I calling it something different? Terion

« previous php.general (#296032) next »