RE: [PHP] Error in code - Seems simple enough
| From: | John W. Holmes | Date: | Mon, 04 Nov 2002 02:46:40 +0000 |
| Subject: | RE: [PHP] Error in code - Seems simple enough | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122601@lists.php.net to get a copy of this message | ||
And the error is??
> -----Original Message-----
> From: vernon [mailto:vernon@comp-wiz.com]
> Sent: Sunday, November 03, 2002 9:28 PM
> To: php-general@lists.php.net
> Subject: [PHP] Error in code - Seems simple enough
>
> 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