PHP-String-Analysefehler mit notwendigem Semikolon nach Variable [closed]

In meinem PHP-Code habe ich eine Variable$message Darin ist die Nachricht enthalten, die an mich gesendet werden soll und die Post-Variablen enthält. Es soll ein Semikolon am Ende haben ... aber es gibt mir einen Fehler, der besagt, dass es unerwartet ist, aber ich weiß, dass ich es brauche, weil es ohne es nicht funktionieren wird. Ich bin völlig ratlos. Hoffentlich kann mir hier jemand helfen.

Fehlermeldung:

PHP Parse error:  syntax error, unexpected ';'

PHP Code

if(!empty($_POST["name"]) && !empty($_POST["address"]) && !empty($_POST["city"]) && !empty($_POST["phone"]) && !empty($_POST["email"]) && !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"] . 
;                                          <---------------####Unexpected semicolon
$to = "emailasdasdasdasd";
$subject = "Free Estimate";
$from = "Guarantee Roofing";
$headers = "From:" . $_POST["name"];
mail($to,$subject,$message,$headers);
}

Antworten auf die Frage(5)

Ihre Antwort auf die Frage