hello,

i got myfile.txt saying:
  i say: $hello

now i write a script like:
 $hello = "hello world";
 $lines = join("\n", file("myfile.txt"));
method 1:
=======
  echo("\$text = \"\$lines\";");
  var_dump($text);

method 2:
========
  $temp = $var;
  $text   = $temp;


none of the method assigns the value "i say: hello world" to $text
they both still parse $text to "i say: $hello"

How can i solve this, I know it's silly,...but i surrender at the moment...

-elias
http://eassoft.cjb.net





-- 
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