[Solved] There’s no syntax error but php returns error [closed]


Without your actual code file, the following answer is shooting in the dark;

.. Getting onto it, however, it would appear that you copied this code from an external source, such as something like jsfiddle or some blog. The point here, is that sometimes when such copies are made, there are hidden characters in the text of that copy.

The presence of this hidden character usually always breaks any code on that line, especially in php.

.. And here is my recommendation for you. Delete the entire line 13. Re-type it out from scratch. If your problem still persists, that is not the issue.

3

solved There’s no syntax error but php returns error [closed]