redirect to another page from php code example
Example 1: how to redirect with php
<?php
header("Location: (redirect url)");
?>
Example 2: how to redirect to php
function location($where){
echo '<script>window.location.href="'.$where.'"</script>';
}
location("https://youtube.com");