As part of acquiring a subscriber, I am going to capture user input from an html form and write it to a tab delimited text file using php. Recorded data should be tabbed and added below other data.
After you have subscribed to the form, I would like to delete this form and display a small message like "thank you for subscribing" in the div.
This will be on the Wordpress blog and is contained in a popup.
The following are specific details. Any help is greatly appreciated.
Variables / Inputs
$Fname = $_POST["Fname"]; $email = $_POST["emailPopin"]; $leader = $_POST["radiobuttonTeamLeader"]; $industry = $_POST["industry"]; $country = $_POST["country"]; $zip = $_POST["zip"];
$ leader is a two-way switch with yes and no as values.
$ country is a fall with 40 countries.
All other values ββare text inputs.
I have all the basic form code ready and ready, with the exception of the action, and I really need to know how to do this:
How to write to a tab delimited text file using php and change the form after sending with a thank you note?
Thanks again for the help.
source share