se ho capito bene la domanda :

<input type="hidden" name="nome" value="<?=$nome?>">
<input type="hidden" name="nome2" value"<?=$nome2?>">