blasphemy1900 Posted July 6, 2009 Share Posted July 6, 2009 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] Quote Link to comment https://forums.phpfreaks.com/topic/164939-solved-email-form-data/ Share on other sites More sharing options...
PFMaBiSmAd Posted July 6, 2009 Share Posted July 6, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/164939-solved-email-form-data/#findComment-869762 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.