Re: [PHP] interpreting variables containing in another variable

2002-11-20 Thread Ernest E Vogelsinger
At 19:15 20.11.2002, ROBERT MCPEAK said: [snip] >I've got a variable - $email_body, that contain's other variables. For >example, echo "$email_body," might look like this: > >$name, $address, $phone, $blah > > >I want those variables to interpreted with cor

Re: [PHP] interpreting variables containing in another variable

2002-11-20 Thread Chris Shiflett
--- ROBERT MCPEAK <[EMAIL PROTECTED]> wrote: > I've got a variable - $email_body, that contain's other variables. > For example, echo "$email_body," might look like this: > > $name, $address, $phone, $blah > > I want those variables to interpreted with corresponding values set > earlier in the s

Re: [PHP] interpreting variables containing in another variable

2002-11-20 Thread Adam Voigt
Not sure what your saying, but like: $email_body = $name . ", " . $address . ", " . $phone . ", " . $blah; ? On Wed, 2002-11-20 at 13:15, ROBERT MCPEAK wrote: > I've got a variable - $email_body, that contain's other variables. For example, >echo "$email_body," might look like this: > > $name

[PHP] interpreting variables containing in another variable

2002-11-20 Thread ROBERT MCPEAK
I've got a variable - $email_body, that contain's other variables. For example, echo "$email_body," might look like this: $name, $address, $phone, $blah I want those variables to interpreted with corresponding values set earlier in the script. So, in effect, where name=bob, address=101 east