Re: [PHP] Having problems with an IF statement, just doesn't make sense

2003-07-06 Thread Chris Hayes
At 19:18 7-7-2003, you wrote: 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 stat

Re: [PHP] Having problems with an IF statement, just doesn't make sense

2003-07-06 Thread David Otton
On Mon, 7 Jul 2003 10:18:04 -0700, you wrote: >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

[PHP] Having problems with an IF statement, just doesn't make sense

2003-07-06 Thread BoBB
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