What is the cause of the errors

From this linkI learned how to register, but in paragraph 5 (changing the index file) I noticed the appearance of 4 errors 36, 84, 89, 90 lines, I tried to fix it myself – nothing happens, help me fix it or tell me what I’m doing wrong!

Answer 1

First, carefully read here.

If you can’t fix it after that, then look in the text of index.php for the line “HERE;” In some places they are preceded by a bunch of spaces. This is a syntax violation. The word “HERE;” should be at the very beginning of the line (there is one case in the text where it is written correctly, it is the very last one).
and then again we read the article by reference, until we fully understand what the heredoc syntax is. Or google for “php heredoc”