hi pl clarify my question…what is smarty and use then directory structure for smarty implementation…we have any other template engine for php?? please answer my those question with example

Using smarty is the worst decision you can possibly make.

I say with no reservation that adding smarty is about the worst thing you can do to your code. The proper name for that piece of crap is ‘dummy’ - seriously. I have a finished template manager under 500 functional lines (the rest is comment text) that can circles around smarty and acheive everything it does because it accepts the fact that PHP is a template engine at heart. Building a template engine on a template engine is like buying a pickup truck to tow a semi truck.