Dollar signs in values

From: Date: Fri, 07 Mar 2003 05:58:54 +0000
Subject: Dollar signs in values
Groups: php.general 
Request: Send a blank email to php-general+get-138565@lists.php.net to get a copy of this message
How is it I can properly get PHP to represent dollar signs when putting it into HTML? I know that dollar signs denote the beginning of a variable, like $reference or $ftpstream or whatever. However, I have a text file that contains (or can contain) values with $ in them. When I open the file and grab those values, then stick them onto my HTML page, they get unpredictable results. Is there a way I can escape them or such?

« previous php.general (#138565) next »