On Thu, 1 Jul 2004 15:30:30 +1000, Jason Bayly <[EMAIL PROTECTED]> wrote:
> Working on a basic custom CMS system for a client and was wondering if
> anyone has a bright idea on how to convert any cfvars in the content to
> their values.

My first reaction is "don't do that!" but somehow folks never accept that :)

My second reaction is use regex to process the string from the DB.
Search for patterns like this:

    #([^#]*)#

and then for each match, replace it with evaluate(x) where x is the
matched pattern.

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to