Re: text with $

From: Date: Mon, 09 May 2005 14:44:04 +0000
Subject: Re: text with $
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214777@lists.php.net to get a copy of this message
Martín Marqués wrote:
I have a text variable that contains "$" symbols, that when I pass it out PHP thinks that the "$" mean that a variable name comes right after. I tried escaping the "$" put with no luck. Is there something I can do?
How did you escape the symbol? You should use backslash: \ Or use single quotes.

« previous php.general (#214777) next »