In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] ("Gunther E. Biernat") wrote:

> I'm trying to read a plain text file where I embedded some variables. E.g.
> 
> abc $a def
> 
> Sucking this file in a string and setting $a to "whatever" results in "abc $a 
> def" rather than "abc whatever def". 

Is the string in your plain text file enclosed in single-quotes by any 
chance?

(Just a wild guess.  It's easier if you show actual code/text.)

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to