naveendk.55 Posted August 22, 2011 Share Posted August 22, 2011 Form forward is not working in below code. Once I click on submit button, it is not forwarding the results to codetesting.php. <html> <head> </head> <body> <form method="post" action="codetesting.php"> <select name="Para"> <option value="Yes"> Yes </option> <option value="No"> No </option> <option value="NA"> NA </option> </select> </form> <input type="submit" name="submit" value="Submit"> </body> </html> Link to comment https://forums.phpfreaks.com/topic/245413-form-forward-not-working-help/ Share on other sites More sharing options...
MasterACE14 Posted August 22, 2011 Share Posted August 22, 2011 the submit button needs to be inside the <form></form> tags: <form method="post" action="codetesting.php"> <select name="Para"> <option value="Yes"> Yes </option> <option value="No"> No </option> <option value="NA"> NA </option> </select> <input type="submit" name="submit" value="Submit"> </form> Link to comment https://forums.phpfreaks.com/topic/245413-form-forward-not-working-help/#findComment-1260434 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.