Jump to content

How


unidox

Recommended Posts

I was wondering how I would go about doing something like this:

 

{title}lala{/title}

 

Thats what smarty uses, and I was wondering how I can do the same thing using php + regex.

 

I know how to replace the {title}{/title} with <title></title>, but I just dont know how I can retrieve lala, or a string inside a specified tag.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/116754-how/
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.