PHP syntax error need help to fix
<p>I get the following error:</p>

<p><em>there is a syntax error on line 2, code hinting may not work until you fix this error</em></p>

<p>Anyone can help me to fix this syntax error</p>

<p>Here is code:</p>

<pre><code>$TMPL['comments'] .= '&lt;div class="box shadow"&gt;&lt;/div&gt;
&lt;div class="comments"&gt;'.foreach((array)comments($page_id) as $comment){.'
        &lt;div class="comment shadow effect"&gt;
            &lt;p class="left tip" title="'.$comment[username].' Said"&gt;
                &lt;img class="avatar" src="'.get_gravatar($comment[email],40).'" /&gt;
            &lt;/p&gt;
            &lt;p class="body right"&gt;'.nl2br($comment[comment]).'
            &lt;div class="details small"&gt;
                &lt;span class="blue"&gt;'.timeBetween($comment['time'],time()).'&lt;/span&gt; · &lt;a class="red" href="#" onclick="$(this).delete_comment('.$comment['id'].'); return false;"&gt;Remove&lt;/a&gt;
            &lt;/div&gt;
            &lt;/p&gt;
        &lt;/div&gt;
    '}'
&lt;/div&gt;
&lt;div class="add_comment"&gt;
    &lt;div class="write shadow comment"&gt;
        &lt;p class="left"&gt;
            &lt;img class="avatar" src="#" /&gt;
        &lt;/p&gt;
        &lt;p class="textarea right"&gt;
            &lt;textarea class="left" cols="40" rows="5"&gt;&lt;/textarea&gt;
            &lt;input class="left" value="SEND" type="submit" /&gt;
        &lt;/p&gt;
    &lt;/div&gt;
    &lt;a onclick="$(this).add_comment('.$page_id.');return false;" class="right effect shadow" href="#"&gt;Add Comment&lt;/a&gt;
&lt;/div&gt;';
</code></pre>

<p>The error is under the line 2 and 13...</p>
