# Very urgent help!

**URL:** <https://forum.kirupa.com/t/very-urgent-help/175641>\
**Category:** programming\
**Created:** [January 16, 2006, 6:48pm UTC](https://forum.kirupa.com/t/very-urgent-help/175641 "2006-01-16T18:48:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bunker](https://avatars.discourse-cdn.com/v4/letter/b/8edcca/32.png) [@bunker](https://forum.kirupa.com/u/bunker)\
**Post date:** [January 16, 2006, 6:48pm UTC](https://forum.kirupa.com/t/very-urgent-help/175641/1 "2006-01-16T18:48:50Z")

</div>

Hi, I am using the kirupa tutorial on parsong xml data into php. The tutorial can be found here: [Link](http://www.kirupa.com/web/xml_php_parse_beginner.htm).

What I would like to know is if there is any way of indexing the output data. It would be perfect if it can be related to the node name.

I ask for this, because the xml page that I request for parsing, contains variables that I need to use in other parts of my php code.

I tried indexing with the xml line number or with the key of the array created with the data, but unfortunately, if one of the variables as a result of the query is missing, the response does not give me a blank field, making it impossible to index the result as I did.

Any hel would be appreciated as this work is for a module that I am trying to pass at my uni.

Thanks a lot
