Newbie learning simplexml_load_file
//<Catalog> //<Category> //<Name>blah</Name> //<Site> //<Id>blah id</Id>
$html = "";
$url = "foo.xml";
$xml = simplexml_load_file($url);
for($i = 0; $i < 10; $i++){
$id = $xml->Category->Name->Id[$i]->Id;
echo $id;
}
//echo $html;
echo $id.'<br>';
echo 'working'; Thank you for your help,
Rick
-
chickahoona -
Thanks - 1 reply
{{ DiscussionBoard.errors[10153400].message }}-
hometutor -
Thanks
SignatureVideo - How Local Businesses Benefit from Monetized On-Topic Breaking News Releases Linking Back to Their Websites{{ DiscussionBoard.errors[10154215].message }} -
-