I am trying to create a web page that will have a list of individuals, and after each individual's name I will create an "Email" button which will direct the user to a PHP form that allows the user to fill in their name, email address, and a comment field for other miscellaneous information, and then click a "Submit" button to email the individual.
I want to create one PHP form that will update depending upon which individual's name (the individual from the list) is selected and will show the individual's name, but not their email address. This question is close (specifically the Edit #1 section), but I want to both (a) send the email to a specific individual on the list, and (b) not show the email address to either the user or bots that will inevitably be scanning the page. This web page is essentially what my client wants to do.
I did find one question on here (which I inadvertently closed before copying the URL) which mentioned using a config file, but I'm not sure how to do that, or if it's a good solution.