RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2392 | Replies: 4 | Thread Tools  Display Modes
Join Date: Jun 2006
Posts: 3
Reputation: Cas107 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Cas107 Cas107 is offline Offline
Newbie Poster

Parse error: parse error, unexpected T_STRING

  #1  
Jun 8th, 2006
Hi
I am getting this error on our website that was created by somebody else.

Parse error: parse error, unexpected T_STRING in /var/www-virtual/www.fpis.co.nz/pages/fpis_contact.php on line 5

This is the complete code that was created and I am trying to fix it and don't have a clue what is wrong
<?
$to = "reception@fpis.co.nz";
$subject = "Message from the FPIS Contact Page";
$msg = "Title: $contact_gendertitle\n\n;
$msg = "First Name: $contact_firstname\n\n;
$msg = "Surname: $contact_surname\n\n;
$msg = "Street Address: $contact_streetadd\n\n;
$msg = "Suburb: $contact_suburb\n\n;
$msg = "City or Town: $contact_city_town\n\n;
$msg = "Zip or Postcode: $contact_zip_postcode\n\n;
$msg = "Province or State: $contact_province_state\n\n;
$msg = "Country: $contact_country\n\n;
$msg = "Company: $contact_company\n\n;
$msg = "Position: $contact_position\n\n;
$msg = "Home Phone: $contact_homephone\n\n;
$msg = "Business Phone: $contact_busphone\n\n;
$msg = "Mobile Phone: $contact_mobilephone\n\n;
$msg = "Fax Number: $contact_fax\n\n;
$msg = "E-mail Address: $contact_email\n\n;
$msg = "Message: $contact_message\n\n;
mail ($to, $subject, $msg, "Message from the Contact Page");
?>
This is suppose to email a message to our reception e-mail with all the details that was entered on the web page
Can you please help me to fix this
Regards
Casper
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:01 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC