Question : alert in php after header location
Answered by : mukash-wasti
echo "<script> window.location.href = 'http://domain.com'; alert('After this goes away, I will be redirected via JavaScript');
</script>";
Source : https://stackoverflow.com/questions/15099924/php-how-to-use-alert-before-headerlocationhttp-domain-com | Last Update : Mon, 27 Sep 21