What you should do when they submit your form to phpfile1.php do a redirect back to the htmlcode.html.
header("Location: htmlcode.html");
Or you can change the htmlcode to a php file and have your form validate to the same page instead by putting your php on the same page.
I like to keep things seperate so I would do the first way.
A little clarification goes a long way.