PHP TEMPLATE SYSTEM WITH SIMPLE TAGS AND FORM
Posted: Mon Nov 11, 2002 10:35 pm
I'm looking for a simple template type program that will do the following...
A template page like this for example
<html>
<body bla bla bla>
<b>$variable1</b>
joe smoe went to the $variable2 and bought some $variable3
</body>
</html>
A form like this
<form method=post action="update.php">
<input type=text name="variable1" value="<?php echo $variable1;>">
I wont write the rest, you get the point. So the form input would replace the variables in the template file and write a new file. Seems simple to do but I can't figure it out. I'm kinda new to this stuff. Thanks for any help anyone can give!
A template page like this for example
<html>
<body bla bla bla>
<b>$variable1</b>
joe smoe went to the $variable2 and bought some $variable3
</body>
</html>
A form like this
<form method=post action="update.php">
<input type=text name="variable1" value="<?php echo $variable1;>">
I wont write the rest, you get the point. So the form input would replace the variables in the template file and write a new file. Seems simple to do but I can't figure it out. I'm kinda new to this stuff. Thanks for any help anyone can give!