You are here: Re: [PHP] text with $ « PHP « IT news, forums, messages
Re: [PHP] text with $

Posted by Disguised Jedi on 05/09/05 17:35

On 5/9/05, Martín Marqués <martin@bugs.unl.edu.ar> 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@gmail.com

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация