dimanche 10 mai 2020

Hi, Help please. How to disassemble, and take the right one from such a structure? [closed]

I am using xml file with simplexml_load_file. But what to do with this structure? the system requires me more letters the system requires me more letters Lord, what else to add?Lord, what else to add?Lord, what else to add?Lord, what else to add? example:

<catalog>
<colors>
    <color>
        <id>10</id>
        <title>this necessary for the product</title>
    </color>
    <color>
        <id>11</id>
        <title>this necessary for the product</title>
    </color>
</colors>  
<property_values>
    <property_value>
        <id>1231</id>
        <title>this necessary for the product</title>
    </property_value>
    <property_value>
        <id>1232</id>
        <title>this necessary for the product</title>
    </property_value>
</property_values>
<products>
    <product>
        <id>15</id>
        <title>имя</title>
        <properties>
            <property>
                <id>112</id>
                <value_id>633</value_id>
            </property>
            <property>
                <id>77</id>
                <value_id>109</value_id>
            </property>
            <property>
                <id>1</id>
                <value_id>455</value_id>
            </property>
        </properties>
    </product>
</products>

Aucun commentaire:

Enregistrer un commentaire