vars in echoed file_get_contents string

From: Date: Fri, 30 Jan 2004 23:35:18 +0000
Subject: vars in echoed file_get_contents string
Groups: php.general 
Request: Send a blank email to php-general+get-176414@lists.php.net to get a copy of this message
I'm having a brain fart here: ---file.php $myvar = "Hello!"; $stuff = file_get_contents("file.html"); echo $stuff; ---file.html <b>$myvar</b> Any ideas why when $stuff is echoed I get $myvar and not Hello? Thanks! -Shawn

« previous php.general (#176414) next »