I have a PHP file. No MYSQL database. I'd like to have it open an .htm file and output the results in the php file to the .htm template.
So, for example say there is a bunch of variables called:
$make
$model
$year
I want to open a .htm file and output the contents of $make, $model & $year in the htm format using variables in the htm itself. ie. {make} {model} {year} and it would import the contents of each into the corresponding tag.
How can this be achieved?
Thanks
So, for example say there is a bunch of variables called:
$make
$model
$year
I want to open a .htm file and output the contents of $make, $model & $year in the htm format using variables in the htm itself. ie. {make} {model} {year} and it would import the contents of each into the corresponding tag.
How can this be achieved?
Thanks
Comment