how to fix Headers already sent error in PHP
Reason: Header already send error in PHP occurs when we print anything before redireding using header(); Solution: use this think if above method not works : https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php/8028987#8028987
Discussion