How to go to another page in php using button 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;
}