Home › Forums › JavaScript › Submit form and stay on page › Reply To: Submit form and stay on page
October 10, 2014 at 8:24 am
#185974
Participant
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.