You probablty did nothing wrong but is was the PHP integration within SD that was misbehaving.
I've noticed that PHP heredoc syntax in particular often produces syntax errors and restructuring the code or putting a dummy statement on a new line after the ENDOFCODE; may inexplicably fix it.
I've noticed that PHP heredoc syntax in particular often produces syntax errors and restructuring the code or putting a dummy statement on a new line after the ENDOFCODE; may inexplicably fix it.
Comment