When you will get the error "Cannot add header information"?

Answer Posted / krisha

When page has html doctype on the starting of page.or some
echo statement on page when page is return or there is
header function on same page.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function would you use to merge two arrays in php?

751


What is __ invoke in php?

645


How to send email using php script?

728


How can we change the maximum size of the files to be uploaded?

753


How would you declare a function that receives one parameter name hello?

724


What is the latest version of php?

754


for image work which library?

727


Why do we use htaccess

806


The left association operator % is used in PHP for?

762


What is the use of ajax in php?

686


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

716


How to get ip address of a server in php?

743


What is member variable?

727


Explain the ternary conditional operator in php?

793


Where is my php ini file?

770