send to other page on button click using php 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;
}