lonewolf007 Posted May 30, 2007 Share Posted May 30, 2007 I have a contact form but I'm stuck. I want it to when you click the submit button to send the results to 1 e-mail address, then after that, a page that says your info has been submitted thank you. attached is a txt file of the code. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/ Share on other sites More sharing options...
per1os Posted May 30, 2007 Share Posted May 30, 2007 You don't even have a form started. I would suggest to google contact form php and start that way instead of asking people to create your code for you, if you want to pay someone to do that post it in the freelance forum. Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265138 Share on other sites More sharing options...
lonewolf007 Posted May 30, 2007 Author Share Posted May 30, 2007 Hi I uploaded the wrong file. heres the correct one... [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265188 Share on other sites More sharing options...
spode Posted May 30, 2007 Share Posted May 30, 2007 still no form...it was the same exact file... Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265217 Share on other sites More sharing options...
lonewolf007 Posted May 30, 2007 Author Share Posted May 30, 2007 odd.... okay one more time.... here are my files. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265225 Share on other sites More sharing options...
spode Posted May 30, 2007 Share Posted May 30, 2007 so...whats the problem... Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265234 Share on other sites More sharing options...
lonewolf007 Posted May 30, 2007 Author Share Posted May 30, 2007 it won't send the email to the address, it just shows a blank page Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265237 Share on other sites More sharing options...
AndyB Posted May 30, 2007 Share Posted May 30, 2007 The form names the email as seller_email The emailer code checks for the presence of email as it's variable. Your form logic MUST use exactly the same input names as your html form. For some reason, the form is sending to a file named feedback.php which may or may not be the same as the text file you posted with a different name. Resolve all those issues carefully, upload everything to your web server, and report what happens ... and 'nothing' isn't going to help. Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265251 Share on other sites More sharing options...
lonewolf007 Posted May 30, 2007 Author Share Posted May 30, 2007 sorry, it gives me a blank page. but what you just said confuses me. Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265254 Share on other sites More sharing options...
AndyB Posted May 30, 2007 Share Posted May 30, 2007 sorry, it gives me a blank page. but what you just said confuses me. It is demonstrable fact that your form uses seller_email as the name of the email input. It is demonstrable fact that your form processor script requires a value in the $_POST['email'] field - something that doesn't appear to exist. What's the confusion? Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265269 Share on other sites More sharing options...
lonewolf007 Posted May 30, 2007 Author Share Posted May 30, 2007 I just checked my code and didn't see any 'seller' in it Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265271 Share on other sites More sharing options...
AndyB Posted May 31, 2007 Share Posted May 31, 2007 <td width="125">Email</td> <td><input type="text" name="seller_email" size="20" /></td> I'm not making that up. It's direct from the file named form1.txt that you posted. I wish you luck solving your problems. Quote Link to comment https://forums.phpfreaks.com/topic/53637-contact-form-need-help/#findComment-265291 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.