using header as a button in pph code example
Example: header location in php
<?php
/*
This will redirect to facebook.com
*/
$url = "https://facebook.com.com";
header("Location: $url");
exit;
?>
<?php
/*
This will redirect to facebook.com
*/
$url = "https://facebook.com.com";
header("Location: $url");
exit;
?>