Monday, 2 October 2017

PHP Parse error: syntax error, unexpected end of file in a CodeIgniter View




I am getting an unexpected end of file error on my CodeIgniter View.



I have pasted the PHP code at http://codepad.org/S12oXE4t.



This code passed various online PHP syntax tests, but I don't know why still it shows me the below error while I was trying to run in WAMP Server.



Parse error: syntax error, unexpected end of file in

E:\wampserver\www\CodeIgniter\application\views\layouts\default.php on line 676


For reference, line 676 is the last line in the code. What did I do wrong?


Answer



Check your short_open_tag setting (use to see its current setting).


No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...