foucquet Posted August 19, 2010 Share Posted August 19, 2010 I am trying to process a simple registration form:- <form method="POST" action="regproc.php"> <p>Choose a username:<br /><input name="nick" type="text" /></p> <p>Choose a password:<br /><input name="pwd" type="password" /></p> <p>Re-type password:<br /><input name="pwd2" type="password" /></p> <p>Sex:<br /><input name="sex" type="text" /></p> <p>Email address:<br /><input name="email" type="text" /></p> <p><input name="submit" type="button" value="Hit me NOW!" /></p> </form> but it does not call the relevant processing file "regproc.php" when the submit button is hit. I can't figure out just why this is and would appreciate any ideas. I know that the solution is probably very simple and staring me in the face if only I could see it... Quote Link to comment https://forums.phpfreaks.com/topic/211169-form-submission-problem/ Share on other sites More sharing options...
PFMaBiSmAd Posted August 19, 2010 Share Posted August 19, 2010 Button's don't actually do anything by themselves. Use type="submit" Quote Link to comment https://forums.phpfreaks.com/topic/211169-form-submission-problem/#findComment-1101188 Share on other sites More sharing options...
foucquet Posted August 19, 2010 Author Share Posted August 19, 2010 I knew it, I knew it, I just b'y knew it! I knew the solution was staring me in the face, and that I couldn't see it! Thanks PFMaBiSmAd Quote Link to comment https://forums.phpfreaks.com/topic/211169-form-submission-problem/#findComment-1101192 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.