What causes the following error?
Parse error: syntax error, unexpected $end in xx.php on line xxx
On the the line xxx there is only a closing php tag ie. ?>
Important thing is that this error occurs on one computer but not on the other computer? (eg. if i run the same php file on the local host on 2 computer). Why is that so? Is it something to do with php.ini settings or some other settings? Because if its an error, it should show on both computers? How can I fix it? Thanks.
Check the php.ini file in both server
if ini setting short_open_tag is configured , u can use
<? ?>otherwise it will show parse error