Here it is..Sorry about that..
if ($POST['SUBMIT'] && $POST['ACCT_NUM'] && $POST['PRODUCT'] && $POST['PAYMENT']) {
echo "<CENTER><FONT COLOR=blue SIZE=+2>Submission taken. Access granted<BR><BR>The Account Number You Entered is: <FONT SIZE=+3><B><U><I>$ACCT_NUM</I></U></B></FONT><P><BR></P>Product Selected: $PRODUCT<P><BR></P>Click <A target=\"_PARENT\" HREF=\"./assign1.php\"><font color=0033cc>HERE</font></A> to return to the home page.</FONT><BR></CENTER>";
foreach($_POST as $key => $value){
echo "Key: $key, Value: $value <br/>";
If (@!$newfile = fopen("/??????","w")) {
echo "ENTER><FONT COLOR=red SIZE=+3>WRONG!!! You did not provide an Account Number.<BR><BR>Click <A target=\"_PARENT\" HREF=\"./?????\"><font color=0033cc>HERE</font></A> to return to the home page.</FONT><BR></CENTER>";
exit;
}
fwrite($newfile, "<HTML>\n");
fwrite($newfile, "<HEAD><TITLE>Results Page</TITLE>\n");
fwrite($newfile, "</HEAD><BODY>\n");
fwrite($newfile,"<CENTER><FONT COLOR=blue SIZE=+2>Submission taken. Access granted<BR><BR>The Account Number You Entered is: <FONT SIZE=+3><B><U><I>$acct_num</I></U></B></FONT><P><BR></P>Click <A target=\"_PARENT\" HREF=\"./??????\"><font color=0033cc>HERE</font></A> to return to the home page.</FONT><BR></CENTER>\n");
fwrite($newfile, "</BODY></HTML>\n");
fclose($newfile);
} else{
echo "$errormsg\n";
}
} else{
// display form
?>
<FORM ACTION="<?php echo $_SERVER['PHP_SELF']; ?>" METHOD="post">