The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Submit form and stay on page Reply To: Submit form and stay on page


I’m asking because if the end game is to store it in a MySQL database or something and you’re just breaking up a form into smaller bits, you should just use whatever server-side language you’ve got.

It’ll be cleaner and more secure.

You can either store it into the database right away (which I do sometimes), or you can just keep it in a $_SESSION variable (since you mentioned PHP)… there’s a lot of ways you can skin the form in this case.