html table to array php
<?php
$htmlContent = file_get_contents("http://teskusman.esy.es/index.html");
$DOM = new DOMDocument();
$DOM->loadHTML($htmlContent);
$Header = $DOM->getElementsByTagName('th');
$Detail = $DOM->getElementsByTagName('td');
?>