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 |
Explain the installation of PHP on UNIX systems?
How To Get the Uploaded File Information in the Receiving Script?
What’s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?
What is cms php?
write the function to fetch a image from mysql databases (datatype blob).
Explain which cryptographic extension provide generation and verification of digital signatures?
How to delete cookie files on your computer?
How to remove duplicate values from array using php?
Explain object-oriented methodology in php?
What is use of htmlspecialchars php?
What is difference between strstr() and stristr() in PHP?
Which framework is best for php development?