When you make a form, it asks for the action, which should be a different page. It then redirects to this page if a button is clicked, for instance. Given the nature of this quiz program that can theoretically create more questions than I have the ability to make separate web pages for, how do I do this? I don't plan on making 1,000 different pages with nearly identical code; this is what the loop is for.
<form name="UsernameForm" action="I don't want it to change the page" method="post"> Username: <input type="text" name="username" /> <input type="submit" value="Submit" /> </form>
Edit: You know, this was a stupid question. I guess it redirects to the same page if no action is given, which will probably work for my purposes. Anyway, it would be nice if it didn't have to redirect and all, but this will still work, I believe. You can disregard this.
This post has been edited by AVReidy: 20 October 2011 - 04:18 PM