why header() gives the error like header already sent in php
please
explain in brief
Answer / sasmitamohanta
Generally it gives error when u print or echo some content
before header() or setcookie() methods.
To avoid the error just put the print below header();
| Is This Answer Correct ? | 6 Yes | 0 No |
How to replace a substring in a given string in php?
How does the identity operator ===compare two values in PHP?
How can we know the count/number of elements of an array?
Explain the visibility of the property or method?
How could I install codeignitor ?
Will a comparison of an integer 12 and a string "13" work in php?
Why is php used for web development?
What is session_start () in php?
How to change the principal password?
What's the difference between using mysql_ functions and pdo?
What can php do?
Explain about objects in PHP?