how to make it redirect to the current page in php code example
Example 1: php redirect
//PHP redirect
header("Location: https://www.codegrepper.com/my-redirect-page.php");
die();
Example 2: how to redirect to php
function location($where){
echo '<script>window.location.href="'.$where.'"</script>';
}
location("https://youtube.com");