php submit button link to another page 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;
}