I am using the following if statement ...

if (isset($theme)) {
  print("Current theme is $theme");
  require "content/header_$theme.php";
} else {
  print("$theme");
  require "content/header.php";
}

now one would think that if it didn't return true that the else
statement wouldn't print anything for $theme ... but it does. Also if I
use !isset it returns true with a null value for $theme ... This doesn't
make sense to me ... maybee I am doing something wrong, if I am someone
please correct me heh.

-- 
/*  BoBB
 *  AIM: Jodokast49 ICQ: 151495596
 *  Jabber: [EMAIL PROTECTED]
 *  http://knightsofchaos.com/~BoBB/new/
 *  I geek, therefor I am.
 */

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

Reply via email to