I am trying to pass as the subject line an input parameter that a user has entered. When I try this:
$mail->Subject ='.$vehicle_type';
It prints out .$vehicle_type
as the subject of the email rather than the parameter it holds.
I'm a newbie here. Tried searching this but it seems that all examples just pass a text string rather than passing the input parameter. Any help would be greatly appreciated.