$hello ?

From: Date: Wed, 02 May 2001 23:16:41 +0000
Subject: $hello ?
Groups: php.general 
Request: Send a blank email to php-general+get-51135@lists.php.net to get a copy of this message
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

« previous php.general (#51135) next »