In PHP this error occurs mainly due to two reasons
- If there exist white spaces before any of the starting php tags prior to the place where you use header(Location : ".....") function. Here is an example.
- Next, if we try to use header function inside html tags it will also not worked. Here is an example
Here if you need to use the header function, you need to use it before line no 164.
No comments:
Post a Comment