php submit buttons go to different pages code example
Example: php button to another page
<?php
if(isset($_POST['submit'])){
header("Location: http://www.example.com/page.php");
exit;
}
<?php
if(isset($_POST['submit'])){
header("Location: http://www.example.com/page.php");
exit;
}