How to redirect in the middle of the page
Moderator: General Moderators
How to redirect in the middle of the page
header("Location: url"); can be only used when no output occurred.But if i wanna redirect a page when there are something has already been output how can i do that?
Output some javascript.
Code: Select all
document.location = 'url';