The first solution that pops to mind is to simply use an if...next statement. i.e.,
while(...){
if ($k=="Submit"||$k=="stage) next;
print ...;
}
If you want to exlude a bunch of items you might consider building a hash of excluded post vars then simply testing for the existence of a key matching the var you want to exclude:
$exclude=array("submit"=>1,"stage"=>1,...);
while(...){
if (array_key_exists($key,$exclude)) next;
print ...;
}