not sure why it doesnt work for me
So lets say there is this:
<technology>
<computer>
<name></name>
<model></model>
</computer>
<computer>
<name></name>
<model></model>
</computer>
Etc...
</technology>
how can you use domdocument to find all the elements with the name tag and print the models of all of them?
Thanks!
[doublepost=1479551496][/doublepost]Ps im a beginning coder and i need domdocument
So lets say there is this:
<technology>
<computer>
<name></name>
<model></model>
</computer>
<computer>
<name></name>
<model></model>
</computer>
Etc...
</technology>
how can you use domdocument to find all the elements with the name tag and print the models of all of them?
Thanks!
[doublepost=1479551496][/doublepost]Ps im a beginning coder and i need domdocument