if($action == "send") { $reset = reset($required); while (list($key, $value) = each($required)) { if($form[$value] == "") { $count++; } } if($count > 0) { ?>
} else { if(!$form[email]) { $form[email] = "$no_email"; } if(!$form[subject]) { $form[subject] = "$no_subject"; } if(!$form[name]) { $form[name] = "$no_name"; } $final_recipient = "$recipient@$domain"; if($html_mail == "yes") { mail("$recipientname <$final_recipient>","$form[subject]","| $form[message] | |
| Name: | $form[name] |
| Title: | $form[title] |
| Company: | $form[company] |
| Address: | $form[address] |
| Postalcode: | $form[postalcode] |
| City: | $form[city] |
| Country: | $form[country] |
| Telephone: | $form[telephone] |
| FAX: | $form[fax] |
| Email: | $form[email] |
| Subject: | $form[subject] |