Thanks, I got it working by adding "=1"
From: Chris Wesley [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 01, 2002 8:08 PM
To: 'PHP List'
Cc: Troy May
Subject: RE: [PHP] Passing arguments to the same script
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">
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:
if( $_SERVER[QUERY_STRING] == "samples" ) ...
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php