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?
Update Database
Hi All,I have a problem with this:Code: [Select]<?phpsession_start();include('../common/dbconnect.php');$stock_id = $_GET['stock_id'];$query='SELECT * FROM users_stocks WHERE user_id ="' .
PHP FTP connect doesn't work with correct login
Hi!i am working on this test code:Quote<?php $ftp_server = "ftp.*******.it";$ftp_user = "weburl@*******.it";$ftp_pass = "CENSORED";// set up a
Multiple forms on the same page (safari)
Hello everyone,I have 3 forms on the same page, that opens in a new window and submits to a php file, this works great in IE8 but I can not get it to work in safari, I can click on the first submit
A rank users order by points
I want to make an insert from table 'rank' , with number (rank) from the cod blow, to fild users.rank ...set @rank := 0;select @rank:=@rank+1 'rank', users.username, users.points from users order by
Beginner PHP code help
Hi I'm new to php but if someone could please read the question below and help it would be great.a)create an html page to enter a row number (1-6) in a textbox to choose a list of student records.b)
Delete records not in top 15
Hi,I'm creating a hall of fame page in my game and the page will only display the top 15 scores.So I want to delete the scores that get bumped down the list.How would I write the query to delete
Remove Rows From Database ad
Hi All,I have this:Code: [Select]<?phpsession_start();include('../common/dbconnect.php');$stock_id = $_GET['stock_id'];$query='SELECT * FROM users_stocks WHERE user_id ="' .
Limiting uploaded file type
Hi. First post here I am working on a simple upload script, and I need it to limit the allowed file type that is uploaded to only .mpr files. .mpr files are not a MIME file type so I do not know how
switch not getting value
what am i doing wrong?i want to populate the country list according to the categoryi want to switch in case CategoryID=1 and CatID2=2 in the country_list tablethen call on "alpha" to
getting a website's source code as a variable? How?
Hey guys, is there any way for me to get the source code of a website as a variable for me to work with?Ex:$url="http://www.google.com"$sourcecode=magicfunction($url);//so that i could