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

Why is facebook still using php?

0 Answers  


Why do we use csrf token?

0 Answers  


Can I write php code in html file?

0 Answers  


What is meant by PEAR in PHP?

0 Answers  


Where can I learn php?

0 Answers  


Explain what is the difference between for and foreach?

0 Answers  


How does php sessions work?

0 Answers  


Tell me how can we define a variable accessible in functions of a php script?

0 Answers  


What is data abstraction in php?

0 Answers  


How to find datatype of variable in php?

0 Answers  


Why we use get in php?

0 Answers  


Explain the difference b/w static and dynamic websites?

0 Answers  


Categories