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 |
What is csrf validation?
Explain what is the difference between session and cookie?
Write a program to find a string is palindrome or not?
How to make multilanguage site in php? (like english,tamil)
How does header() work . What do they tell the server same question for SESSIONS
Is uploaded file php?
Tell me how to set a page as a home page in a php based site?
How to create the PHP Script to Calculate the Age Using the Inputs Of our Birth date and the Current date?
where to change in php.ini file for file uploading?
what is the url rewriting?how to rewrite the url? give any example
Tools used for drawing er diagrams?
Where php basically used?