how to press a button on another php 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;
}