Cannot Modify Header Information, Header Already Sent Error

If you are working on PHP, chances are you might familiar with Cannot Modify Header Information, Header Already Sent ErrorĀ . In this post i am trying to explain what is the actual cause of Header already sent error and how you avoid this.

Before we dig into this error, first let us know what is Header