-2

I hope you are doing great I have been faced with a strange syntax error. when I write the syntax it says: unexpected end of file or reached end while parsing. If you know for this error. that's a general question. not for the project

code smaple:

<?php
include 'Footer.php';
?>

I wonder if you could help me with that. thanks in advance. cheers,

hamed871
  • 35
  • 2
  • 8

1 Answers1

-3

You're most likey missing a closing curly brace in Footer.php.

Check that each opening curly brace has a closing twin, such as:

if( $something )
{
    // do something
} // <- check you have these braces equal to opening ones
rosszt
  • 11
  • 4