I used this link to learn 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 correct it myself - nothing works, help me fix it or tell me what I'm doing wrong!

  • one
    Well, you would have led the line, where the error and the errors themselves. - DemoS
  • Tip: ibm.com has good articles, read them, than those that are copied from each other on the left sites that are not written by very talented people. And the code is desirable to show, because the tool is not at hand. - Andrei Arshinov

1 answer 1

First read carefully here .

If you can’t fix it after that, we search the text of the index.php string "HERE;" In some places they are preceded by a bunch of spaces. And this is a syntax violation. The word "HERE;" should be at the very beginning of the line (in the text there is one case where it is written correctly, it is the last). and then we read the article again by reference, to a complete understanding of what heredoc syntax is. Or we google according to "php heredoc"