How can I make the code to stop executing when i redirect my page?
Presently, i use
header("Location:http://10.10.2.5/Admin.php");
but the code after this line continue to execute and the page is only redirect at the end of the page.die(), exit().That is so stupid I wonder why didn't I think of that.
Presently, i use
header("Location:http://10.10.2.5/Admin.php");
but the code after this line continue to execute and the page is only redirect at the end of the page.die(), exit().That is so stupid I wonder why didn't I think of that.