dbo Posted September 18, 2008 Author Share Posted September 18, 2008 Oh, and after I grab the placeholder results from the DB, I do this old trick: extract($page_variable_values, EXTR_PREFIX_ALL, "PH"); which of course effectively populates my template. Link to comment https://forums.phpfreaks.com/topic/124755-regex-question/page/2/#findComment-644475 Share on other sites More sharing options...
genericnumber1 Posted September 18, 2008 Share Posted September 18, 2008 I do something very similar for my templates .. except they're included() from a file, not from a DB so it's a bit simpler. Link to comment https://forums.phpfreaks.com/topic/124755-regex-question/page/2/#findComment-644483 Share on other sites More sharing options...
dbo Posted September 18, 2008 Author Share Posted September 18, 2008 That's how I've done it in the past. This is just an extension on that. Link to comment https://forums.phpfreaks.com/topic/124755-regex-question/page/2/#findComment-644486 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.