title: PHP string parse error with necessary semicolon after variable
body: <p>In my PHP code I have a variable <code>$message</code> which includes the message to be sent to me which has post variables in it. It is supposed to have a semicolon at the end...but it gives me an error saying it is unexpected but I know I need it because it wont work without it. I am at a complete loss. Hopefully someone here can help me.</p>
  
  <p>Error Message:</p>
  
  <pre><code>PHP Parse error:  syntax error, unexpected ';'
  </code></pre>
  
  <p>PHP Code</p>
  
  <pre><code>if(!empty($_POST["name"]) &amp;&amp; !empty($_POST["address"]) &amp;&amp; !empty($_POST["city"]) &amp;&amp; !empty($_POST["phone"]) &amp;&amp; !empty($_POST["email"]) &amp;&amp; !empty($_POST["type"]))
  {
  $message = "Name:" . $_POST["name"] . 
  "Address:" . $_POST["address"] . 
  "City:" . $_POST["city"] . 
  "State:" . $_POST["state"] . 
  "Zip Code:" . $_POST["zip"] . 
  "Phone:" . $_POST["phone"] . 
  "Email:" . $_POST["email"] . 
  "Current Roof Type:" . $_POST["type"] . 
  "Roof Age:" . $_POST["age"] .
  "Is it leaking?:" . $_POST["leak"] . 
  "Does it have hail damage?:" . $_POST["hail"] . 
  "Insurance:" . $_POST["insurance"] . 
  "Additional Comments:" . $_POST["extra"] . 
  ;                                          &lt;---------------####Unexpected semicolon
  $to = "emailasdasdasdasd";
  $subject = "Free Estimate";
  $from = "Guarantee Roofing";
  $headers = "From:" . $_POST["name"];
  mail($to,$subject,$message,$headers);
  }
  </code></pre>