Hi, I am using the kirupa tutorial on parsong xml data into php. The tutorial can be found here: Link.
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