How would I go about writing the code to send an email when a button is clicked and a specific value equals something?
For instance, if the column 'Gender' is equal to 'male' then send an email when I click a button regarding that specific ID/row. I would also like to pass all the variables from that record/row.
The button would link to something like 'submit.php' with the code of the email contents/capture all the POST variables from the row.
Your help is greatly appreciated.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!