需要添加年份,制作,模型到php [关闭]

I have a quote request page and it is handled by php. This is what I have so far..

$e_body = "You have been contacted by $name, their additional message is as follows." . PHP_EOL . PHP_EOL;
     $e_content = "\"$comments\"" . PHP_EOL . PHP_EOL;


**---THIS IS WHERE I WANT YEAR, MAKE, AND MODEL TO BE DISPLAYED AND NOT SIDE BY SIDE--- 
     Vehicle Year: using $year
     Vehicle Make: using $make
     Vehicle Model: using $model**

     $e_reply = "You can contact $name via email, $email";
     if ($phone) $e_reply .= " or via phone $phone.";        

     $msg = wordwrap($e_body . $e_content . $e_reply,70);

If you have any good input let me know. I don't use php that much or else I could probably knock this out pretty easily.

If you're receiving the content through a contact form using the $_POST array you can do something like this:

$year = $_POST["year"];
$make = $_POST["make"];
$model = $_POST["model"];

Then add it to the rest of your content:

$e_content. = "Year: " . $year . "Make: " . $make . "Model: " . $model;