Jump to content

Template System - PCRE?


iShaun

Recommended Posts

Ok, im creating some forums software, and It seems like PCRE is the best way to impliment a template system. If I want to have the following in the template bits, how would i use PCRE to replace all of them. Examples:

 

<% $this->foo %>

 

i want to have that output the variable at $this->foo.

 

how could i do this?

 

Also, if you think there is an easier way for a template system, please let me know.

 

-iShaun

Link to comment
https://forums.phpfreaks.com/topic/122153-template-system-pcre/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.