All the variables from the form are held in the array $HTTP_POST_VARS. Hence, echo them out..include this code on the page which is specified in the ACTION = 'form action here' attribute of your FORM tag.
while (list($var, $value) = each ($HTTP_POST_VARS)) {
if ($var != 'Submit') {
echo "<b>$var</b> : $value";
}
}
K.