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 |
A process can run only in the background. State Whether True or False?
Explain the difference between array_merge() and array_combine()?
What is use of count() function in php?
display selected value in dropdown list through javascript without page refresh
Why delimiter is used in mysql?
What is == and === in php?
how can we check mail function with '127.0.0.1' (before submitting a site?
What is the use of $_request variable?
Tell me what is use of in_array() function in php?
How to include a file to a PHP page?
Please explain is it possible to use com component in php?
Are static variables final?