Jump to content

Read Attributes with xml_parse()


glenelkins

Recommended Posts

hi

 

how can i read the actual attributes with xml_parse() ??

 

For example <player id="1">Alias Here</player>

 

I can get the "Alias Here" bit, but not sure how to get the `id` attribute

 

an example would be appreciated

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/151900-read-attributes-with-xml_parse/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.