php-general | 2005051

Re: [PHP] text with $ From: Richard Davey (rich <email protected>)
Date: 05/09/05

Hello Martín,

Monday, May 9, 2005, 1:23:45 PM, you wrote:

MM> I have a text variable that contains "$" symbols, that when I pass it out PHP
MM> thinks that the "$" mean that a variable name comes right after.

MM> I tried escaping the "$" put with no luck.

$string = "hello\$world";

Best regards,

Richard Davey

-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I do not fear computers. I fear the lack of them." - Isaac Asimov

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php