I've got a form, form.php, that submits variables to a swift mail handler. The variables are then added to a text/html mime email and sent to a client and Bcc'd to myself.
The only thing is that if I select a package (ie: Pckg1), I want 2 associated values (Value1B & Value1C) supplied automatically to the HTML email template.
I've currently got the following coding in my PHP script, but the template doesn't show the additional values....
Code: Select all
//Package Variables
$package = $_POST["comment_pckg"];
if ( $package == "Pckg1" ) {
$size_en == "Value1B";
$size_fr == "Value1C";
}
elseif ( $package == "Pckg2" ) {
$size_en == "Value2B";
$size_fr == "Value2C";
}
else ( $package == "Pckg3" ) {
$size_en == "Value3B";
$size_fr == "Value3C";
}