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
What is php and its features?
What is phpsessid?
What is php.ini & .htacess file?
What are the advantages of php?
What is variable give example?
Maine 12th ke bad 2 years ka web designing ka course kiya hai. Php me achcha hu. Ek fresher ko is field me kitna mil sakta hai ?
What is a query in php?
How to make database connection in php?
What is the use of print_r function in php?
What is the use of mysql_real_escape_string in php?
Tell me is it possible to submit a form with a dedicated button?
How can I embed a java program in php file and what changes have to be done in php.ini file?
What are the advantages of triggers?
Can you define an array argument as a reference type?
What is the difference between $name and $$name?