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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
biggipsy
Forum Newbie
Posts: 12
Joined: Tue Apr 08, 2008 6:07 am

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

Post 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
biggipsy
Forum Newbie
Posts: 12
Joined: Tue Apr 08, 2008 6:07 am

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

Post by biggipsy »

i read now $xml->item[@type][$i], but don't work
Post Reply