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 |
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain
What is rest api in php?
How to access a global variable inside a function?
How is session data stored?
Do I need apache for php?
In mail($param1, $param2, $param3, $param4), the $param2 contains__
How many data types are there in php?
How to increase the execution time of a PHP script?
How to get number of elements in an array?
What is the difference between $var and $$var?
What are the four scalar types of php?
Does https prevent csrf?