Error in code - Seems simple enough
| From: | vernon | Date: | Mon, 04 Nov 2002 02:28:16 +0000 |
| Subject: | Error in code - Seems simple enough | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-122599@lists.php.net to get a copy of this message | ||
I'm having trouble with the following code dispalying an error, which I
don't understand because the code actually works (other than the error). Any
ideas?
<?
if(!isset($HTTP_SESSION_VARS['svUserAccess'])){
echo "<td class='mainmenu' align='center' width='12.5%'
style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF''
onMouseout='this.style.backgroundColor='''
onClick='window.location.href='login.php''><a
href='login.php'>Login</a></td>";
} else {
echo "<td class='mainmenu' align='center' width='12.5%'
style='cursor:hand' onMouseover='this.style.backgroundColor='#C0E0FF''
onMouseout='this.style.backgroundColor='''
onClick='window.location.href='logout.php''><a
href='login.php'>Logout</a></td>";
}
?>
Thanks