RE: simplexml_load_file()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



switch to an underscore comment_id instead

bastien




----------------------------------------
> Date: Fri, 10 Aug 2007 23:03:19 +0100
> From: panquekas@xxxxxxxxx
> To: php-general@xxxxxxxxxxxxx
> Subject:  simplexml_load_file()
> 
> Hello,
> 
> I'm doing an script which it'll "read" the xml values, but I have one
> problem doing that.
> 
> On the xml there is a tag that has an hífen in the middle, so when I do
> "echo $xml->comment-id" it gives me an error.
> 
> How can I make this work?
> 
> Thanks in advantage.

_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux