Not Solved PHP in Templates and Template Conditionals
#47
Not Solved
Parse error: syntax error, unexpected '{', expecting ',' or ';' in /home/content/62/4727962/html/forums/global.php(438) : eval()'d code(13) : eval()'d code on line 2

This is the error I see when I view the page.
The links are not shown, but something about the error is also preventing the login function from working.

Thanks,
Kerry Wano

"True friends stab you in the front." - Oscar Wilde

EDIT: I figured it out. I was using php, and not the plugin.

My code that works:
<if $mybb->user['uid'] > 0 then>
(Member List link)
(Calendar link)
</if>
Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by kerrywano - 2009-08-01, 11:12 PM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 70 Guest(s)