Re: simplexml_load_file()
| From: | Panquekas | Date: | Sat, 11 Aug 2007 17:42:38 +0000 |
| Subject: | Re: simplexml_load_file() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260696@lists.php.net to get a copy of this message | ||
But How?
I tried an str_replace, and preg_replace and didn't work at all.. can you
help me?
Thanks in advantage.
On 11/08/07, Bastien Koert < bastien_k@hotmail.com> wrote:
>
>
> switch to an underscore comment_id instead
>
> bastien
>
>
>
>
> ----------------------------------------
> > Date: Fri, 10 Aug 2007 23:03:19 +0100
> > From: panquekas@gmail.com
> > 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
>
>