parse error


Posted on 16th Feb 2014 07:03 pm by admin

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:wampwwwcmsincludesfooter.php on line 9

Code: [Select]<?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?

No comments posted yet

Your Answer:

Login to answer
77 Like 19 Dislike
Previous forums Next forums
Other forums

Remove directories not empty
hi,
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

Lack of simpleXML Documentation
What is up with this.

Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<

How to write on database when a link is clicked?
Hi, I have a list of products in a gridview. When the link is clicked currently it takes to an ext

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my

HTML Form Server Side Validation
Hi, Im new here, im currently doing a website for a friend, and I have designed using snippets from

PHP Directory Listing Not working
Hey Guys,

I need help, I tried a ton of directory listing scripts and they all don't work. Al

[function.file]: failed to open stream: No such file or directory
Okay I wrote this little script to upload a csv file that is located on my webhosts server to a mysq

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash