This question already has an answer here:
-
*
/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them
/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them
11 answers
Answers
Your code is syntactically correct, only issue i have found here is blank spaces before and after php tag <?php and ?>
this is a problem which does not encounter with windows systems but gives error or page blank issues on linux systems.
Try removing blank spaces before and after php tag from your contact.php file.
Source
License : cc by-sa 3.0
http://stackoverflow.com/questions/39178032/getting-unexpected-end-of-file-error-syntax-error-php