- Category : Php
- Location : Mohali
- Posted On : Sep 15, 2016
- Posted by : Vikas
fix “Headers already sent” error in PHP
The very quick fix for your problem will be to add
as the very first thing in your script if you only need it in this one script. If you need it in all your scripts add it as the very first thing in your header.php file.
Add Your Answer
When answering a question please:
- Read the question carefully.
- Understand that English isn't everyone's first language so be lenient of bad
spelling and grammar.
- If a question is poorly phrased then either ask for clarification, ignore it, or
edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.