hi all

is there anyone here who can tell me why my style switcher is not 
working? the page is at http://www.soddengecko.com/test/ and the link is 
in the top right, it says "green!"

the code for the switcher.php is

<?php
setcookie ('sitestyle', $set, time()+31536000, '/test/', 
'soddengecko.com', '0');
header("Location: $HTTP_REFERER");
?>

and the code i have on my main page is

<link rel="stylesheet" type="text/css"
    media="screen" title="User
Defined Style" href="<?php echo
(!$sitestyle)?'defaultstyle':$sitestyle ?>.css" />

with the link of <a href="switcher.php?set=green">green!</a>

what am i doing wrong? i have been trying to solve this for hours now.

thanks in advance

Mark...
http://www.soddengecko.com



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to