Zepo. Posted April 14, 2008 Share Posted April 14, 2008 I want to create a templating system for my script but i need some explanations. I see in some scripts html files they have things like <!-- IF .draftrow --> and {L_LOAD_DRAFT}. I was wondering how to create a similar system, as in what each section of code stands for and its uses. Link to comment https://forums.phpfreaks.com/topic/100993-templating-sytem/ Share on other sites More sharing options...
discomatt Posted April 14, 2008 Share Posted April 14, 2008 preg_replace, preg_replace_callback... They use regular expressions to convert the syntax to php code. Personally, i'd rather give the template authr the ability to just use php Link to comment https://forums.phpfreaks.com/topic/100993-templating-sytem/#findComment-516477 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.