Jump to content

Recommended Posts

On my local machine I keep getting parse error for my footer.  When I put it online, it doesn't show anything.

 

I've searched on google but not found a solution for it. 

 

The error message:

 

Parse error: parse error in C:\wamp\www\cms\includes\footer.php on line 9

 

<?php include("includes/header.php"); ?>
<div id="content">
<h2>Estate Agent</h2>
<p>We are one of the largest firms of independent Estate Agents in South Hertfordshire, with three offices covering BARNET, POTTERS BAR, BROOKMANS PARK and surrounding villages.</p>

<p>Estate Agents was established with the opening of our first office in Potters Bar, March 1988. Since then we have opened a further two offices located at Brookmans Park and Barnet. We are completely independent and therefore have no hidden alliances to any Banks, Building Societies or Insurance companies, as so often is the case with Estate Agents these days.</p>

</div>
<?php include("includes/footer.php"); ?>

 

Also I thought PHP isn't meant to show up in your source code?  I have HTML in the include header and footer, so is it right that the HTML shows in the source code?

Link to comment
https://forums.phpfreaks.com/topic/178835-solved-parse-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.