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... 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" 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 Link to comment https://forums.phpfreaks.com/topic/211169-form-submission-problem/#findComment-1101192 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.