Jump to content

how does XML work with PHP??


jeger003

Recommended Posts

Hi everybody *asian accent*,

im trying to figure out how to display xml in php

 

i know how to do things like


      <condition>
        <conditionId>4000</conditionId>
        <conditionDisplayName>Very Good</conditionDisplayName>
      </condition>

for each blah blah as $item

$condition = $item->condition->conditionId

echo $condition;


 

 

BUT........how do i get these values in XML to display in php

 

this <searchResult count="2">

 

I want to get the value of count to display

 

 

help please

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/211452-how-does-xml-work-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.