Ciao a tutti,
premetto che mi sono appena iscritto a questo forum, e mi interesso al codice solo da pochi mesi, quindi chiedo scusa in anticipo per eventuali e banali errori d sintassi.
Io ho fatto un form d'ordine simile a questo (inedx.html):



<form action="mail_forum.php" method="post">
Nome
<input maxlength="40" name="nome" size="35" type="text" />

e-mail
<input maxlength="40" name="mail" size="35" type="text" />


<select name="ordine1">
<option selected="selected" value="none">none</option>
<option value="prodotto1">Prodotto 1</option>
<option value="prodotto2">Prodotto 2</option>
</select>

n.
<input style="width:50px; height:18px;" type="text" name="ordine1n" value="0"/>


<select name="ordine2">
<option selected="selected" value="none">none</option>
<option value="prodotto3">Prodotto 3</option>
<option value="prodotto4">Prodotto 4</option>
</select>

n.
<input style="width:50px; height:18px;" type="text" name="ordine2n" value="0"/>


<input stile="position:relative; z-index:2;" type="submit" name="Submit" value="invia"/>
</form>



Il pulsante "INVIA", invia i dati ad un file simile a questo (mail_forum.php):



<?php
// L'INDIRIZZO DEL DESTINATARIO DELLA MAIL
$to = "mail@mail.it";

// IL SOGGETTO DELLA MAIL
$subject = "ORDINE";

// COSTRUZIONE DEL CORPO DEL MESSAGGIO
$body = "Contenuto del modulo:\n\n";

$body .= "nome: " . trim(stripslashes($_POST["nome"])) . "\n";
$body .= "e-mail: " . trim(stripslashes($_POST["mail"])) . "\n";
$body .= " "."\n";
$body .= " "."\n";
$body .= "1 ordine: " . trim(stripslashes($_POST["ordine1"])) . "\n";
$body .= " quantità: " . trim(stripslashes($_POST["ordine1n"])) . "\n";
$body .= " "."\n";
$body .= "2 ordine: " . trim(stripslashes($_POST["ordine2"])) . "\n";
$body .= " quantità: " . trim(stripslashes($_POST["ordine2n"])) . "\n";



// INTESTAZIONI SUPPLEMENTARI
$headers = "From:$mail";

// INVIO DELLA MAIL
if(@mail($to, $subject, $body, $headers)) { // SE L'INOLTRO E' ANDATO A BUON FINE...

echo "mail inoltrata con successo.";

} else {// ALTRIMENTI...

echo "Si sono verificati dei problemi nell'invio della mail.";

}

?>


Questo file invia i dati contenuti nel form ad un indirizzo mail prestabilito.
a questo punto avrei due domante:
1. Come posso far si che in caso una select non sia stata selezionata dall'utente, anziche arrivare nella mail la voce:

Ordine 1: none

non arrivi niente?

2.Come posso formattare il testo nel corpo della mail?

P.S.
aspetto ansioso un aiuto!
ringrazio tutti in anticipo,
mi scuso ancora per eventuali errori.

P.P.S.
il file .php l'ho preso da un form, non l'ho generato io.