I am trying to write a PHP oneliner to show a link to another page. This is in Expression Engine. I came with this:
echo '<li><p><a href="{path='Site2/matcha-tea'}">Matcha Tea</a></p></li>';
But it gives this error:
Parse error: syntax error, unexpected '{', expecting ',' or ';' in /home/...../system/expressionengine/libraries/Functions.php(680) : eval()'d code on line 42