Jump to content

Solved Help Parse error: syntax error, unexpected T_LNUMBER


merebel

Recommended Posts

I am getting this error and I am lost as to what is causeing it
Parse error: syntax error, unexpected T_LNUMBER in /home/merebel/public_html/include/style2.php on line 63

[code]<?

function print_header_small($title='')
{
print("
                <head>
                <title>$title</title>
                <link rel='stylesheet' href='/include/alderaanbase.css'>
                </head>

                <body bgcolor=black text=black marginheight=0 marginwidth=0>           
");
}


function print_header($title='Alderaan Base')
{
print("
<head>
<title>$title</title>
<link rel='stylesheet' href='/include/alderaanbase.css'>
</head>

<body bgcolor=black text=black marginheight=0 marginwidth=0>

<table width=100% height=100% cellspacing=0 cellpadding=5>
<tr>
<td class=header align=left height=110><img src='/images/alderaanbase1.jpg'></td>
</tr>
<tr>
<td>
<table width=100% cellspacing=10 cellpadding=10 border=0 height=100%>
<tr>
<td class=bodyline width=150 valign=top>
<a class=mainmenu href='/'>Home</a><br>
<a class=mainmenu href='/calendar/eventslist.php'>Upcoming Events</a><br>
<a class=mainmenu href='/events.php'>Past Events</a><br>
<a class=mainmenu href='/gallery2/main.php?g2_itemId=79'>Photo Gallery</a><br>
<a class=mainmenu href='/join.php'>Join the Rebellion!</a><br>
<a class=mainmenu href='/reference'>Costuming Resources</a><br>
<a class=mainmenu href='/forum'>Forum</a><br>
<a class=mainmenu href='/members.php'>Members</a><br>
<a class=mainmenu href='/honorary.php'>Honorary Base Members</a><br>
<P>&nbsp;</p>
<P>&nbsp;</p>
<P>&nbsp;</p>
<a class=mainmenu href='/invite.php'>To Invite Alderaan Base to an event or to find out more email us</a><br>


<P>&nbsp;</p>
<P>&nbsp;</p>
<P>&nbsp;</p>





</td>




<td width="674" valign=top class=row1>





<P>&nbsp;</p>

</td>

<td width="250" valign=top class=tablewhite>

<P> <a href='/photos/'><img border=0 width=250 height=340 src='images/rebelspreview.jpg'></a><br></P>



");
}

function print_footer()
{
print("

  </td>

</tr>
</table>
</tr>
</table>
</body>
</html>
");
}


function print_footer_small()
{
print "</body></html>";
}

        function fix_url($linkurl)
        {
                if(substr($linkurl,0,4) == "http" || substr($linkurl,0,5) == "https")
                {
                        $fixed_url = $linkurl;
                }
                else
                {
                        $fixed_url= "http://" . $linkurl;
                }

                return $fixed_url;
        }
                                       





[/code]


Thanks
Keith
The contents of your print([color=red]"[/color]...[color=red]"[/color]) statement is enclosed within double-quotes. Any double-quotes that are contained within that must either be changed to single-quotes or be escaped with [color=red]\[/color]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.