Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.