Hi, is there a way how to add a variable into the e-mail, e.g. I have a select form:
I hope, you understand,
thank you, Jan
<select name="sel">
<option value="0" selected="selected">- Select -</option>
<option value="1">Great</option>
<option value="2">Good</option>
</select>
Then I can get and change the code which will be displayed as confirmation (On Submit code - before sending email)if (isset($_POST['sel'])) {
if ($_POST['sel'] == 1) {
$_POST['sel'] = 'You have selected 'Great'';
// or $sel = 'You have selected 'Great';
}
echo $_POST['sel'];
// echo $sel;
// this return: You have selected 'Great'...
BUT if I add the {sel} code into the e-mail template, I get only '1' not 'You have selected 'Great''
I hope, you understand,
thank you, Jan