esatto quello che mi chiedo anche io
esempio:
codice:
if (isset($_POST["element_2"])) {
$body .= "Nata/o a: " . trim(stripslashes($_POST["element_2"])) . "\n";
}
if (isset($_POST["element_3_2"]) && isset($_POST["element_3_1"]) && isset($_POST["element_3_3"])) {
$body .= "Il: " . trim(stripslashes($_POST["element_3_2"])) . "/" . trim(stripslashes($_POST['element_3_1'])) . "/" . trim(stripslashes($_POST['element_3_3'])) . "\n";
}
In questo caso se io non metto niente in questi campi, nella mail mi viene la scritta "Nata/o a: " e "Il: "
ma il codice mi sembra corretto...