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
Want to output variable contents in htm file from php file,
Moderator: General Moderators
-
camarosource
- Forum Commoner
- Posts: 77
- Joined: Sat Aug 03, 2002 10:43 pm
templates are what you're looking for.
Have a read of http://www.devnetwork.net/forums/viewtopic.php?t=10077
Have a read of http://www.devnetwork.net/forums/viewtopic.php?t=10077