php-general | 2005051
Date: 05/09/05
- Next message: Mikey: "[PHP] Accessible HTML - OT"
- Previous message: Jason Barnett: "[PHP] Re: text with $"
- In reply to: Martín Marqués: "[PHP] text with $"
- Next in thread: Marek Kilimajer: "Re: [PHP] text with $"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/9/05, Martín Marqués <martin <email protected>> 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.
/*
This is standard behavior, as far as I know. Are you using an IDE, or
just a standard text editor? Many IDEs will notify you of this, or
just escape it automatically.
*/
> I tried escaping the "$" put with no luck.
/*
Escaping didn't work? That's strange. Could you post the code? This
would help, as I think you might not be escaping it correctly. See
below...
*/
> Is there something I can do?
/*
'Single Quotes?' Be sure that when you escape it you are using \, not
/! Again, try posting code. You're always more likely to get
responses if you post the code, and/or any error messages you get.
*/
-- disguised.jedi <email protected>PHP rocks! "Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored. However, I must say that the ENTIRE contents of this message are subject to other's criticism, corrections, and speculations.
This message is Certified Virus Free
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Mikey: "[PHP] Accessible HTML - OT"
- Previous message: Jason Barnett: "[PHP] Re: text with $"
- In reply to: Martín Marqués: "[PHP] text with $"
- Next in thread: Marek Kilimajer: "Re: [PHP] text with $"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

