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

Add Dependent Scripts

   here is the code that allow to add dependent script :         <script>         const addDependentScripts = async function( scriptsT...

Ads Inside Post

Powered by Blogger.

Arsip

Blog Archive