jacksondorado
IS-IT--Management
Hi,
I have a simple email text box on a form and there is a 'subscribe' button that writes the email address to a text file. I would like to add an 'unsubscribe' button to the form and when a user types in their email and clicks 'unsubscribe' the program parses the text file and does compare string to find the email and delete it.
How do I handle two form buttons in one form? I'm pretty much at a cut and paste CGI writing level.
thanks
I have a simple email text box on a form and there is a 'subscribe' button that writes the email address to a text file. I would like to add an 'unsubscribe' button to the form and when a user types in their email and clicks 'unsubscribe' the program parses the text file and does compare string to find the email and delete it.
How do I handle two form buttons in one form? I'm pretty much at a cut and paste CGI writing level.
thanks