How to extract .tcx file in Php

i have one garmin.tcx file,it’s contain xml data, now i want display as a array using PHP?

Please download garmin.tcx file from following url

Please help

Source: xml

1 Comment

  1. Digin Dominic

    Simple example how to read an XML file in PHP

    $items = simplexml_load_file('garmin.tcx');

    foreach($items as $item) {


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.