prova con:
Codice PHP:
$_POST['am_'.$var]; 

ciao