create_header function php 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;
?>