Page 2 of 2

Re: PHP contact form

Posted: Wed Jan 14, 2009 11:40 am
by califdon
I think that's because you're trying to send HTML page headers to the browser after you've sent something else, namely, the echoed message "Your information has been sent." Just output the headers at the very beginning of your script (outside any php tags). The headers I'm speaking of are the <!DOCTYPE... and <html xmlns... lines.