Page 1 of 1

Read a tag, for example <item type="vazio">

Posted: Tue May 20, 2008 9:16 am
by biggipsy
hi,

For the php read the tag <item> i wrote the php code

Code: Select all

$xml->no[0]->item[$i]
, but for read the tag

Code: Select all

<item type="vazio">
, how can i write?


Thanks for the help

Re: Read a tag, for example <item type="vazio">

Posted: Tue May 20, 2008 9:55 am
by biggipsy
i read now $xml->item[@type][$i], but don't work