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 do you create subdomains using PHP?
what are in image creating functions in php
How can we extract string ?allinterview.com ? from a string ?http://info@allinterview.com? using regular expression of PHP?
What is the difference between include and include_once ? Which is one is good in terms of performance ?
What are the two types of variables?
i have designed a registration form in html (registration.html) and to insert user details in database i have designed a submit form in php (submit_registration.php) but when i click on submit button in registration.html it opens a dialogue box which asks for open or save php(submit_registration.php) even though i have already installed apache HTTP server and php version 5 on my computer and i am using mysql as backend. plz suggest me what should i do????
What are the difference between abstract class and interface?
What is use of mysqli_query in php?
What is php and its uses?
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
11 Answers HCL, Rushmore Consultancy, Thursday Technology,
How do I install php and apache on windows 10?
Which function gives us the number of affected entries by a query?