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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php