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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php