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.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?