For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Wednesday, March 18, 2015

Parse error syntax error unexpected end of file

Problem:

While working with PHP you may get this error
"Parse error: syntax error, unexpected end of file"

Solution:

If you missed the proper php tag <?php and used as below tag without configuration short tag
<?

?>
Then you will get the "Parse error: syntax error, unexpected end of file" error message

Example:

So replace below tag
<?
?>

To

<?php

?>
Share:

0 comments:

Post a Comment

Unable to resolve <website url> Try checking the for validity Google Pagespeed Insights

Unable to resolve <website url> Try checking the for validity Google Pagespeed Insights   You have a website and want to test it'...

Ads Inside Post

Powered by Blogger.

Arsip

Blog Archive