> if (isset($theme)) {
>   print("Current theme is $theme");
>   require "content/header_$theme.php";
if you try to send headers in "header_$theme.php", this wont work, because
you can't send headers after you've printed or echoed something.
try this:

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


mfg.
harry wiens



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

Reply via email to