si ma devo scrivere tutte e 106 le variabili? il nome dei campi text sono "note1" "note2" ecc..... cioè <input name="note1" type="text">

il codice dovrebbe essere cosi?

foreach($_POST AS $key => $note)
{
$key = trim(stripslashes($note));
}