If you are getting a syntax error with unexpected
in the message, this is usually caused by an error in the line before it.
did you remove these lines from the code I gave you?
... and the rest of the html
... and field you want to add to content
This was only to indicate where to put your code and is not proper PHP. It will cause an error if you don’t remove it.