DigitalNinja Posted October 5, 2009 Share Posted October 5, 2009 Hey Guys I have a simple flash contact for that calls a php file. it has 5 fields....Name, Subject E-mail, Tel and Message. My problem is that when i test the form and recieve my email response the subject info is duplicated in the name field and also once you submit the message online it is meant to say......."thank you, "namefield" your message has been sent but instead it says, thank you, "subject field" your message has been sent. Attached is the php code file email the flash page to anyone who wants it Could someone please have a look at the 2 files and help me to resolve it :'( Cheers in advance Tom [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/176556-solved-online-contact-form/ Share on other sites More sharing options...
Adam Posted October 5, 2009 Share Posted October 5, 2009 Your problem's here (lines 14-15): $senderName = stripslashes($senderName); $senderName = stripslashes($senderSubject); You're setting $senderName to $senderSubject. NB In future you'll probably get more / quicker responses if you post code within code tags. Link to comment https://forums.phpfreaks.com/topic/176556-solved-online-contact-form/#findComment-930709 Share on other sites More sharing options...
DigitalNinja Posted October 5, 2009 Author Share Posted October 5, 2009 Thats is.....Thank you very much Link to comment https://forums.phpfreaks.com/topic/176556-solved-online-contact-form/#findComment-930720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.