I found the answer. I used:
$_SESSION['post-data'] = $_POST;
and then to post it on the email:
echo $_SESSION['post-data']['Machinecs'];
However, I used the for each:
<?php
if(!empty($_SESSION['post-data'])) {
foreach( $_SESSION['post-data'] as $pkey => $pval ){
if (get_magic_quotes_gpc()) $pval = stripslashes((is_array($pval)?implode(", ",$pval):$pval));
if ($pval) {
?>
<tr valign="top">
<th style="font-family: 'Times New Roman', Times, serif; font-size: 16px;width: 134px; text-align: right; padding: 3px 10px 3px 3px; color: #666; font-weight: bold;"><?php echo(str_replace("_"," ",$pkey)); ?>:</th>
<td style="font-family: 'Times New Roman', Times, serif; font-size: 16px;padding: 3px; border-left: 1px solid #DDD; color: #000000;"><?php echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval):$pval))); ?></td>
</tr>
<br>
<?php
}
}
}
?>