Just write this at the bottom of your php files (like mentioned previously):
<?php header("Location:htmlcode.html");exit; ?>
or for more generic return code (it will return you to the previous page):
<?php header("Location:{$_SERVER['HTTP_REFERER']}");exit; ?>
You MUST ensure that no text (error messages or echoed php or any HTML) is output to screen before the header function is called or you will get an error.
Last edited by ardav; Jan 9th, 2009 at 7:50 pm.