I'm trying to create a template system. I thought of a way of doing this but it's not very good. Please tell me your idea of doing it my idea is to open a template file and put it into a variable and use ereg_replace to replcae {ADAS} stuff to a string. Please help
Check out the articles under the HTML/Templates area:
http://www.phpbuilder.com/columns/
Thanks, but I've already checked them... Got any other links?
Looking/studying downsides of existing templating systems like Smarty will help a lot
I know that you're trying to create your own template system, but why rei-invent the wheel? Smarty is a really nice system, and isn't one of the points of open source/free software to provide code that you can use/reuse?