php-general | 2005051
Date: 05/09/05
- Next message: bruce: "[PHP] project looking for a web designer/developer"
- Previous message: Mikey: "[PHP] Accessible HTML - OT"
- In reply to: Martín Marqués: "[PHP] text with $"
- Next in thread: Martín Marqués: "Re: [PHP] text with $"
- Reply: Martín Marqués: "Re: [PHP] text with $"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: bruce: "[PHP] project looking for a web designer/developer"
- Previous message: Mikey: "[PHP] Accessible HTML - OT"
- In reply to: Martín Marqués: "[PHP] text with $"
- Next in thread: Martín Marqués: "Re: [PHP] text with $"
- Reply: Martín Marqués: "Re: [PHP] text with $"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

