Re: [NF][PHP] Equivalent to macro Substitution or Eval() or ()

2006-07-05 Thread Ted Roche
On 7/5/06, Ken Kixmoeller (j/s) <[EMAIL PROTECTED]> wrote: I need to do the same thing in PHP. The PHP eval() function seems like the right one from the description, but I can't get it to work without an error (parse error, unexpected $end ... It seems to want to eval() a whole script.) From

Re: [NF][PHP] Equivalent to macro Substitution or Eval() or ()

2006-07-05 Thread Ken Kixmoeller (j/s)
On Jul 5, 2006, at 5:14 PM, Ed Leafe wrote: Does this help? Instead of macro-expanding just the variable, they eval() the assignment of the variable to its literal string. Perhaps that might be something that you could hack about. Well, that is the one with whi

Re: [NF][PHP] Equivalent to macro Substitution or Eval() or ()

2006-07-05 Thread Ed Leafe
On Jul 5, 2006, at 5:52 PM, Ken Kixmoeller (j/s) wrote: Playing some more with PHP. Boxed myself into a corner where I need to do a macro substitution-type of capability. Does this help? Instead of macro-expanding just the variable, they eval() the assign

[NF][PHP] Equivalent to macro Substitution or Eval() or ()

2006-07-05 Thread Ken Kixmoeller (j/s)
Hay - -- (oats) Playing some more with PHP. Boxed myself into a corner where I need to do a macro substitution-type of capability. For example, I have bunches of variables like this: ... $Q02_buzz $Q02_fuzz $Q02_suzz $Q03_buzz $Q03_fuzz $Q03_suzz ... I need to tease out the value of Q08_fu