make the form to load the same page when the submit button is pressed, ie,
<form action='<?php echo $PHP_SELF; ?>' >
and then when the page is reloaded do whatever you want with the variables and then 'include' the next page, so that page will receive the same variables.
Christian