0

Hi I'm having got a problem with some of my code and can't figure out what it is. I'm receiving the following error:

Parse error: syntax error, unexpected T_STRING in /home/a1907007/public_html/index.php on line 11

This is my code:

<!DOCTYPE html>
 <html>
 <head>
   <meta charset="UTF-8">
   <title>31seconds</title>
   <link rel="icon" href="Images/Favicon.ico" url="image/x-icon">
   <link rel="stylesheet" href="style/style.css">
 </head>
<body>
   <?php include_once("template_pageTop.php); ?> 
   <div id="pageMiddle"> </div>
   <?php include_once("template_pageBottom.php); ?>
 </body>
 </html>

Any help appreciated, thanks.

3
Contributors
3
Replies
20
Views
4 Years
Discussion Span
Last Post by hbm11
1

As pritaeas said you are missing quotes in line 10 and 12.

 <?php include_once("template_pageTop.php"); ?> //missing closing double quote after php
   <div id="pageMiddle"> </div>
   <?php include_once("template_pageBottom.php"); ?>//missing closing double quotes
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.