uktab Posted March 19, 2013 Share Posted March 19, 2013 Hi, I followed some instructions on a site to help me build a web form, then I found some free code that sends the data from the form to my email address, and then a 'Thank you' page should show. I can enter data into the form, but when I press 'Submit' nothing happens. The 'Thank you' page doesn't come up, and the data doesn't get emailed. I have attached the 3 web pages. radioform.php - the form simplescript.php - the code that sends the data to the email address radioformend - the 'Thank you' page Thank you for any help ! radioform.php simplescript.php radioformend.html Link to comment https://forums.phpfreaks.com/topic/275879-php-and-html-web-form-is-not-working/ Share on other sites More sharing options...
yomanny Posted March 20, 2013 Share Posted March 20, 2013 In radioform.php on line 9 you must also tell the script where to send the form data (should be simplescript.php) with action="simplescript.php" So edit the line to the following: <form action="simplescript.php" method="POST" enctype="application/x-www-form-urlencoded" name="radioenquiry" id="radioenquiry"> - W Link to comment https://forums.phpfreaks.com/topic/275879-php-and-html-web-form-is-not-working/#findComment-1419765 Share on other sites More sharing options...
uktab Posted March 20, 2013 Author Share Posted March 20, 2013 Thanks for your fast reply ! Worked great Link to comment https://forums.phpfreaks.com/topic/275879-php-and-html-web-form-is-not-working/#findComment-1419776 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.