Page or URL function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux