Re: strings with $ sign
| From: | robert janeczek | Date: | Sat, 09 Mar 2002 10:55:17 +0000 |
| Subject: | Re: strings with $ sign | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12549@lists.php.net to get a copy of this message | ||
> I just wanted to know how to use strings with $ sign.
>
> If a word starts with a dollar sign php will think it's a variable, how
can
> I make
> " $bla bla and bla $bla " to stay that way?
> Will this work? " \$bla bla and bla \$bla "
don
t use "" - use ''. php doesnt parse variables in such kind of
strings.
' $bla bla and bla $bla '
" \$bla bla and bla \$bla " - this should work too, but i haven`t checked.
rash