[RESOLVED] Inserting PHP variables into imported HTML template
Not sure if this is possible but I will give an overview of what I'm trying to achieve.
I am building a notification email - basically it is just going to send a notification email to the administrator indicating whether the process was successful or unsuccessful.
The email is the same every time except I will change the following values:
- Customer Name
- File Name
- File Details
- Time of Day
What I was hoping to do was build the HTML template and simply include it in the PHP class, replacing the place holder with the actual variable information I generate when processing a file.
Is this possible or will it require a custom built script to do a find and replace?