Menu
Can i redirect to a page when a condition becomes true in PHP?
(something similar to response.redirect [ASP])
1. I tried using the header function but it gives the following warning:
Warning: Cannot modify header information – headers already sent by (output started at c:filenamephppage.php:12) in
c:filenamephppage.php on line “line-number”
2. I also tried using javascript:
echo “<script> self.location(“file.php”);</script>”;
This too gives an error.
HELP !!!
Thank You!