PHP contact form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: PHP contact form

Post 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.
Post Reply