Exporting form data to txt file
I built a form in PHP and I want that by clicking on submit it will send the data and open a txt file with the data inserted.
I had to do it because the inserted data should go in JS code and if it is posted to result.php after submitting I get a blank page.
Does this function exist?
I built a form in PHP and I want that by clicking on submit it will send the data and open a txt file with the data inserted.
I had to do it because the inserted data should go in JS code and if it is posted to result.php after submitting I get a blank page.
Does this function exist?