I keep getting PHP T_STRING errors. It says this:

Parse error: syntax error, unexpected T_STRING in /home/a1558762/public_html/forum/cache/skin_cache/cacheid_1/skin_global.php on line 186

Line 186 is as follows

<strong>{$this->lang->words['pc_replies']}</strong> {parse expression="intval( $items['pmData']['mt_replies'] )"}<br />

I tried changing punctuation, but nothing has helped.
Thanks in advance.

Might just be me, but I would think you don't need the quotes in front of intval. Try this

{$this->lang->words['pc_replies'];}{parse expression=intval( $items['pmData']['mt_replies'])}

I stripped out the html tags because without seeing the whole code I wouldn't know if they are being used properly in this instance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.