Author Topic: email sends but lacking info  (Read 414 times)

0 Members and 1 Guest are viewing this topic.

Offline smile14Topic starter

  • Irregular
  • Posts: 3
    • View Profile
email sends but lacking info
« on: June 11, 2010, 05:09:15 PM »
Hello, I am a complete newb to php. I wrote a form for my website and used a generated php script to email it. It emails fine, success and error pages work. The only problem is that the email lacks the info the user typed in. All I get is "comments-html" I'd kinda like to know what user has submitted  :P I attached the form html and php. Please help! It would be greatly appreciated.

[attachment deleted by admin]

Offline chmpdog

  • Enthusiast
  • Posts: 303
    • View Profile
    • RushHunt
Re: email sends but lacking info
« Reply #1 on: June 12, 2010, 12:01:45 AM »
so what is it outputting exactly?

Offline smile14Topic starter

  • Irregular
  • Posts: 3
    • View Profile
Re: email sends but lacking info
« Reply #2 on: June 12, 2010, 10:02:24 AM »
The email I get says:
This message was sent from:
http://www.myipmg.com/health.html
------------------------------------------------------------
Name of sender: Smith
Email of sender: janesmith@gmail.com
------------------------- COMMENTS -------------------------

HTML

------------------------------------------------------------

hmmm that thankyou.php shouldn't be there. the file would either be survey.php or thanks.html.

Offline smile14Topic starter

  • Irregular
  • Posts: 3
    • View Profile
Re: email sends but lacking info
« Reply #3 on: June 12, 2010, 10:08:23 AM »
Oh jeez, I'm an idiot. Ignore that last comment about the thankyou.php...It's your sig. Like I said, I'm a newb.