|
The error means you cannot have any output sent before calling the header() function, or session_start(). Which means you cannot have any echo, print or any other code that prints something to the page, or any html code (or evan white spaces and newlines) before the <?php opening tag. It could i.e. be that your query fails and echoes the error message from mysqli_error().
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|