It seems to me that this is purely a logic problem.
I have a little app online in which a visitor provides some input that is handled with javascript and later enters their email address and the app sends the results to their email.
My question is this: How can one inject these javascript results from Javascript with the sessionStorage.getItem("string"); to be included in the HTML content of the email being sent out with PHPMailer?
Is it even possible to draw that sessionStorage information with PHP?
First time using PHP, so please explain it like I'm five.
Tried processing the javascript within the HTML content of the PHP email and tried pre-processing it. Nope.
Anyone care to think along?
function prepEmail() {
sessionStorage.setItem("activity", swimming);
};
sessionStorage.getItem("activity"); => PHPMailer