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 to get the http request in php?

0 Answers  


How does session work in php?

0 Answers  


Tell us why did you choose this particular career path?

0 Answers  


How to convert a json string to an array in php?

0 Answers  


Does PHP 5 support exceptions? State Whether True or False?

0 Answers  


What are include() and require() functions?

0 Answers  


How is session data stored?

0 Answers  


How send email using php?

0 Answers  


Why do we create an instance of a class in php?

1 Answers  


How can we find the number of rows in a result set using PHP?

2 Answers  


What is $_session in php?

0 Answers  


Which is better get or post method?

0 Answers  


Categories