[Resolved] Adding PHP to snippet results in parse error
Snippet works fine when just using html
But just adding in an echo ‘hello’; results in a parsing error
Parse error: syntax error, unexpected ‘<‘ in /home/content/42/11056642/html/b2bwordpress/wp-content/plugins/post-snippets/lib/PostSnippets/Shortcode.php(98) : eval()’d code on line 1
I’ve checked off shortcode and php code. Is there something else I need to do?
- The topic ‘[Resolved] Adding PHP to snippet results in parse error’ is closed to new replies.