Skip to content
Advertisement

php Retrieve from a xml file having equal values

I am trying to recover only some values ​​from an xlsx file. The file that creates problems for me is worksheets / sheet1.xml whose structure is …

JavaScript

my problem is that the values ​​that interest me are in different lines but they can be the same. For example: I need the number of the day of the month (e.g. 16), but that number is also the pointer that allows me to find the name of a colleague and when I read the attributes of the row I don’t find what I expect. Following is the code I use

JavaScript

How can I get the correct value in the correct row?

Advertisement

Answer

Problem solved. In the above code $row = $attr_0['r']; $row becomes an array $row[] and analyze it. Thank Nigel Ren for givin me an inspiration

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement