Hi,
I have a if statement ina channel tag:
{exp:channel:entries channel ="channelname" limit="1" dynamic="no"}
{if title != ""}
hi
{/if}
{/exp:channel:entries}And when i do run this code i will get the following error code:
Parse error: syntax error, unexpected T_ENDIF in /var/www/vhosts/sitename.nl/httpdocs/system/expressionengine/libraries/Functions.php(680) : eval()‘d code on line 49
And i don’t inderstand this one. The if statement is correct etc.
I tried this with custom and default tags and all give me the same error.
What is going wrong?
Kind regards,
Paul