PHP help
- Started
- Last post
- 3 Responses
- Viro
I'm creating a form and upon submit I recieve "Warning: Cannot add header information"
The form does work, I recieve the emails I just need the thanks.html page to show.
http://radargolf.com/form/mailto…
Any help greatly appreciated.
- enobrev0
well, i figure you're trying to do a redirect using the 'header' function. You have to make sure there is NOTHING output before you try to change a header (using the header function).
If you look at your error, you have a blank space above the error.
mailtoform3.phtml, line 3 seems to be kicking out a space or somehting. Go throug hyour codes and do wahtever you can to ensure nothing is output (no spaces, extra lines, anything) are output before your redirect.
- Viro0
Thank you. that fixed the problem.
- slinky0
enobrev once again saves the day!