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

Multiple attribute passing in querySelectorAll

Multiple attribute passing in querySelectorAll     Here I am demonstrating code to how to pass multiple attributes in querySelectorAll. <...

Ads Inside Post

Powered by Blogger.

Arsip

Blog Archive