Can someone see why my web page is giving the error:

Parse error: syntax error, unexpected T_ELSE in  
/usr/home/choroid/public_html/new/crf_header.php on line  31

For the PHP code:

<?PHP
if ((!$sitestyle) || $sitestyle == 'layout' ) {
echo '<a id="switch" href="../switcher.php?set=layout_large">Increase Font 
Size</a>';
}
else {
echo '<a id="switch" href="../switcher.php?set=layout_small">Decrease Font 
Size</a>';
}
else {
echo '<a id="switch" href="../switcher.php?set=layout_medium">Default Font 
Size</a>';
}
?>

Thank you for the help.

Angus MacKinnon
Infoforce Services
http://www.infoforce-services.com

"Faith is the strength by which a shattered world shall emerge into
the light." - Helen Keller


------------------------------------

Please remember to write your response BELOW the previous text. 

Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

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

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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