Jump to content

[SOLVED] email form data


blasphemy1900

Recommended Posts

a bit new to PHP and wondering where i went wrong. i created a questionnaire that our clients could fill out, and once they submitted it, the data would be emailed to our sales department. the html site comes up, but when the submit button is pressed, the page whites out and nothing is shown. The page is suppose to echo an html message that the data has been sent. This does not happen, also, i do not receive the email. I've attached the php file. FYI, i did reference the php file to the html site to perform the php action once the submit button has been pushed. the site is rjonetworks.com/questions and again i'm still learning.

 

Any help would be great! Thanks in advance...

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/164939-solved-email-form-data/
Share on other sites

You have a number of variable names that don't match up (what you set in one place is not the name you use in another place.)

 

Also, line 28 should be EOD; not EDO;

 

You should be larning php, developing php code, and debugging php code on a system with error_reporting set to E_ALL and display_errors set to ON in your php.ini to get php to help you. The variable name mis-matches will show up as undefined variable messages.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.