On Sun, 1 Dec 2002, Troy May wrote:

> The only thing that EVER gets displayed is the final else. (Main content
> goes here.)  What am I doing wrong?  Once again, the links are in this
> format: <a href="index.php?samples">

<a href="index.php?samples=1">

To get the desired results with the code you posted, you have to give your
query string parameter(s) a value (as above).  If you don't want to give
samples a value, then examine the query string as a whole:
$_SERVER[QUERY_STRING]

if( $_SERVER[QUERY_STRING] == "samples" ) ...

        g.luck,
        ~Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to