Hello everyone,
I can not figure out how to do the if-then condition in the email.
I tried:
Where {spedizione} is a radiobutton, the answer is: Si / No
If I select Yes or select No, the answer is always there "La risposta è SI"
Where am I wrong?
I can not figure out how to do the if-then condition in the email.
I tried:
<td colspan="2" align="center"><b>L'indirizzo di spedizione è lo stesso?:</b> <b><font size="3" color="red">{spedizione}</font></td></tr> <?php $Risp = "{spedizione}"; if ($Risp = "Si") { echo 'La risposta è SI'; } else { echo 'La risposta è No'; } ?> </table><br>
Where {spedizione} is a radiobutton, the answer is: Si / No
If I select Yes or select No, the answer is always there "La risposta è SI"
Where am I wrong?