I want to set a session with a text link, am having problems with the syntax. The link swiches the session to on or off. <a href="" class="link_text">swtich off</a> href="" class="link_text">swtich on</a> I want to do this but the syntax is incorrect. <?=$_SERVER['PHP_SELF']?$_SESSION['switch]='0'; ?> <?=$_SERVER['PHP_SELF']?$_SESSION['switch]='1'; ?> what is the correct syntax for this line? Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php