On Jul 8, 2008, at 3:03 PM, Hayden's Harness Attachment wrote:

> I am stumped why my web browser is saying:
>
> Parse error: syntax error, unexpected $end in  /usr/home/choroid/ 
> public_html/new/crf_header.php on line  51
>
> <?PHP
> if ((!$sitestyle) || $sitestyle == 'layout' ) {
> echo '<a id="switch" href="../switcher.php? 
> set=layout_large">Increase Font Size</a>';
> }
> else {
> if ((!$sitestyle) || $sitestyle == 'layout' ) {
> echo '<a id="switch" href="../switcher.php? 
> set=layout_small">Decrease Font Size</a>';
> }
> else {
> if ((!$sitestyle) || $sitestyle == 'layout' ) {
> echo '<a id="switch" href="../switcher.php? 
> set=layout_medium">Default Font Size</a>';
> }
>
> switch ((!$sitestyle) || $sitestyle == 'layout' ):
> case layout_medium:
> echo '<a id="switch" href="../switcher.php? 
> set=layout_medium">Default Font Size</a>';
> break;
> case "layout_large":
> echo '<a id="switch" href="../switcher.php? 
> set=layout_large">Increase Font Size</a>';
> break;
> case "layout_small":
> echo '<a id="switch" href="../switcher.php? 
> set=layout_small">Decrease Font Size</a>';
> break;
> default:
> echo '<a id="switch" href="../switcher.php? 
> set=layout_medium">Default Font Size</a>';
> endswitch;
> ?>
>
> And their is nothing on line 51. Line 50 is "?>". I am trying to  
> follow along with:
>



The error is telling you that it's hitting the end of your script, but  
it's unexpected.  You need to make sure your braces are balanced,  
because there's more { open braces than } close braces.


-D. Israel
[EMAIL PROTECTED]
http://www.customcodebydan.com
AIM: JudoDanIzz



[Non-text portions of this message have been removed]

Reply via email to