Instead of using the submit button, you can use navigation links(HTML <A> tag) for your purpose. Make the link URL as something like follows:
Here target.php is the target page where you want to navigate. i.e. When you click a link from test.php, then target.php will be loaded. In target.php, you can get the submitted variable using $_GET['name'].