I’m currently working on a PHP submit form on a website that logs the user’s input into an organized file, (preferably excel), and also emails the submission to a different address depending on the location of the submitter.
I got the form designed, i’m just confused about the continuous file writing and the send to different people depending on a drop down menu in the form.
This code should do the trick. Link your form to this page via POST and setup a confirmation page. It will send all the fields included in the form. Can’t remember where I got it from..