I've got a form that on submit two things occur:
1. all the data is passed to a shopping cart (a php script)
2. it emails me all the data (using a separate php form-to-email script)
In the form-to-email script, I want to delete/strip/remove some of the data that is being emailed to me.
The form fields look like this:
<input type="text" name="First_Name">
<input type="text" name="Last_Name">
<input type="text" name="Phone">
<input type="checkbox" name="item_1" value="REGFEE-1">
<input type="checkbox" name="item_2" value="REGFEE-2">
<input type="checkbox" name="item_3" value="REGFEE-3">
I want to strip out all the "checkbox" fields from the email it sends me.
How to do?