switch to an underscore comment_id instead

bastien




----------------------------------------
> Date: Fri, 10 Aug 2007 23:03:19 +0100
> From: [EMAIL PROTECTED]
> To: php-general@lists.php.net
> Subject: [PHP] 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

Reply via email to