PHP Error

Associate
Joined
18 Oct 2002
Posts
1,725
Location
Belfast
I am getting the following error when submitting details on a form and can't work it out!

Parse error: syntax error, unexpected '.' in /customersites/9/home/httpd/vhosts/rate changers.com/httpdocs/contactprocess.php on line 65

Line 65 is the Email line below.


$content = "Name:".$name."\n"

."Title:".$title."\n"

."Company Name:".$company."\n"

."Address:".$address."\n";

."Email:".$email."\n";

."Phone Number:".$phone."\n";

."Fax Number:".$fax."\n";

."Info Pack or Service Request:".$service."\n";

Any help would be great.
 
IT bveuase u started to put semi colons in the line above, they are not needed.

it shoud look like:
$content = "Name:".$name."\n"
."Title:".$title."\n"
."Company Name:".$company."\n"
."Address:".$address."\n"
."Email:".$email."\n"
."Phone Number:".$phone."\n"
."Fax Number:".$fax."\n"
."Info Pack or Service Request:".$service."\n";
 
Back
Top Bottom