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?
foreach help.
Hello all,First time I'm attempting to use a foreach statement and was just wondering if my code is correct:Code: $sql = "SELECT email from mail_list where subcribed = \"Y\" ";
ctype() validation - allowing illegal characters
Hello,I use ctype() to filter and validate a user form. However, I am trying to allow certain characters.Example:Code: [Select]//Validate Copay $allow = array('$', '.'); if (!empty($copay)
modifying a property of an object from a different class
I have 2 classes:- Math- Distancein my math class, I have this line:$distance = new Distance($this->query, $this->distances);and this property:public $special = array();in my Distance
subtract 1 from value entered in text field
HiHow do I subtract 1 from the vaue entered into a text field?Thanks
Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:
Using insert variable
need a way to inert variable data to mysql database $acc = "212121212";$nok = "Nokia1100";$db_link = mysql_connect("localhost","root",
Phase Error I can't seem to find :(`
Hey guys, I can seem to find my phase error on this. I am getting this error[error]Parse error: syntax error, unexpected $end in /home/klrbal/public_html/Mafia-test/tempfam.php on line
PayPal Redirect Issue
When I have my paypal button set so that is redirects to http://empiremarketing.ca/order.php,it works just fine. But when I change the redirect URL to something like:
Get value from Select menu
Hi!Have tried to find the solution on the web. Don't know if there is an easy one. A description:Line number On/Off | Expand/Contract<form method="post" name="me"
Regular expression tips or resources
Hello! I'm having some issues implementing the appropriate regex patter to eliminate unwanted characters from a string.Here is a sample string: Code: String str = "test-hello. me please3, _dog[