Re: Dollar signs in values
| From: | Jim Lucas | Date: | Fri, 07 Mar 2003 17:15:50 +0000 |
| Subject: | Re: Dollar signs in values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138662@lists.php.net to get a copy of this message | ||
How are you including the file in question?
Jim
----- Original Message -----
From: "Liam Gibbs" <liamgibbs@sympatico.ca>
To: "php list" <php-general@lists.php.net>
Sent: Thursday, March 06, 2003 9:58 PM
Subject: [PHP] Dollar signs in values
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?