why header() gives the error like header already sent in php
please
explain in brief
Answer Posted / 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 |
Post New Answer View All Answers
Why php is used in html?
What is difference between Method overriding and overloading in PHP?
Is php front end?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
What are the features of php?
How arrays are passed through arguments?
How to enable error reporting in php?
Explain some of the php string functions?
What does mysqli_query return?
Where are php configuration settings stored?
What is the use of array_count_values() in php?
What is member variable?
Why do you need php?
How can I display text with a php script?
How can you encrypt password using php?