well, that is the original design of PHP -to embed PHP within the HTML. However, that makes a page more difficult to read. and the way some folks write code, it can end up a big jumbled mess. and it is hard to develop "reusable" code that way.
I don't really like the embedded method. and dody's method of doing all the work in separate modules and just passing the data off to the HTML pages is cumbersome to work with.
I like the approach SMARTY takes, I just don't like the idea of it being so complicated. I like to keep things simple and SMARTY is just not simple.
Oh, well, it was an interesting discussion....
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.