PDA

View Full Version : Pasresing error for TOC mode


wpbent
12-18-2009, 04:55 PM
I am trying to install a full sized calendar. (I beleive its refered to as TOC) In any event, I am able to have the small calendar render on my page but not the full sized one.

I have a page here with the small calendar --> http://losangelesdancecalendar.com/

I have a page here where I have attemped to render the larger TOC calendar. --> http://losangelesdancecalendar.com/index2.php

As you can see, I get the following error message --> Parse error: syntax error, unexpected T_VARIABLE in /home/losangel/public_html/index2.php on line 53

The error message refers to line 53. Here is that line of code taken directly from the page --> <tr><td align="center"><?php$TOC=1; require ("calendar/calendar.php"); ?></td>

Can someone help me figure out why I getting the error message and what the proper code for that line shoul bde?

Thanks in advance for all your help.

Bill Bevington

Brian
12-18-2009, 04:56 PM
You're missing a space on that line. Probably between <?php[space]Code.