Reputation: 1
I have been working on a registration form for a website. The form gets user data, validates it and adds it to mysql database. For user to avoid sending data again I have used header redirection method. It redirects to the same page with additional variables. I have included the form in the index page. This works fine except for some additional reasons. The index page has div element in which entire page is included. The form redirects until the div element doesn't have style attrib set. I can't understand the problem. Is this a CSS issue? Please help.
Upvotes: 0
Views: 129
Reputation: 2037
You should look that there is no html ouput before you user header()
Upvotes: 2