Reply to Re[2]: [PHP] text with $

Your name:

Reply:


Posted by Richard Davey on 05/09/05 19:04

Hello bala,

Monday, May 9, 2005, 3:51:21 PM, you 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.

bc> use this
bc> $$text = "$text";

While I'm sure creating a variable variable is useful in lots of
circumstances, this isn't really one of them and doesn't solve the
original posters problem.

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

[Back to original 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

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