dutchy Posted August 20, 2004 Report Share Posted August 20, 2004 http://www7.hattrick.org/common/teamDetail...view&teamID=373 kā piemēram no daudziem šitādiem failiem var izvilk vajadzīgo uz php? Link to comment Share on other sites More sharing options...
bubu Posted August 20, 2004 Report Share Posted August 20, 2004 (edited) Ļoti vienkārši (ar PHP5): <?php $xml_text = ... // iedabūt faila saturu iekš $xml_text $xml = simplexml_load_string($xml_text); echo 'Team name = ', $xml->ActionType->Team->TeamName, "\n"; // u.t.t. ?> Sīkāku infu skaties iekš manuāļa, tur ir piemēri. Edited August 20, 2004 by bubu Link to comment Share on other sites More sharing options...
Recommended Posts