I'm receiving some information from the AJAX form, and I need to generate a HTML email that will use some information from this form.
For example, I want to send something basic like
$msg = '<html><body>
<p>Bla-bla-bla $information</p></body></html>'
How can I insert $information variable into paragraph without concatenation (using it is pretty painful, as the email HTML has pretty complex structure)?
Bla-bla-bla $information
"` – Michael Lea Crawford Dec 03 '15 at 18:37