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> Quote 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> Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.