Reply to Re: Cannot use "-" in variable names?

Your name:

Reply:


Posted by Stefan Rybacki on 12/10/05 19:17

ross wrote:
> I am parsing a xml file and would like to create variables on the fly
> with the same name as the XML tags. some of the xml tags are in the form
> "xx-yy" etc.
>

Then use the array approach already presented by another poster.

$xml_vars['xx-yy']='foobar';

Regards
Stefan

[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

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