In the first case where you are posting to the same page you would need to redirect to another page... something like this:
PHP Code:
<?php
header( 'location: http://domain.com/newpage.html' );
?>
Be sure that you are redirecting before anything is output.