Solution In Php - Parse Error: Syntax Error, Unexpected End Of File In
- Solution In Php - Parse Error: Syntax Error, Unexpected End Of File In
this is my solution fo fixing an error i am getting in my php code script that says Parse error: syntax error, unexpected end of file in , Last Updated: Tue Feb 07, 2023
Wed Dec 31, 1969
Parse error: syntax error, unexpected end of file in index.php on line 84
if you are getting this error, form me the problem was that i was using an old script and the script was using short tags in the php code.
to simply fix this, try changing the short tags to normal php tags.
on line 84 of my script was the end of my script, that was not where the problem was, it was on this line:
<? echo $results;
as you can see, its a short tag, so just change it to:
<?php echo $results;
hope that works