Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


why header() gives the error like header already sent in php
please
explain in brief



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

Post New Answer

More PHP Interview Questions

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

0 Answers  


What is rest api in php?

0 Answers  


How to access a global variable inside a function?

0 Answers  


How is session data stored?

0 Answers  


Do I need apache for php?

0 Answers  


In mail($param1, $param2, $param3, $param4), the $param2 contains__

1 Answers  


How many data types are there in php?

0 Answers  


How to increase the execution time of a PHP script?

0 Answers  


How to get number of elements in an array?

0 Answers  


What is the difference between $var and $$var?

0 Answers  


What are the four scalar types of php?

0 Answers  


Does https prevent csrf?

0 Answers  


Categories