I've been trying to figure this out for a while now. I want to submit a form and store its data in a file as JSON. I've got to find part of the solution, using PHP to store the data into a file, but now I want to avoid redirection after the form is submitted.I've been trying to figure this out for a while