How can I easily delete the first row of my html table in php, which is an object from simple html dom?
<?php
include("simple_html_dom.php");
$html=file_get_html("url");
$string = $html;
preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#', $string, $matches);
$html=file_get_html($matches[0][1]);
$article=$html->find("article",0);
foreach($article->find('article-title') as $title)
echo $title->outertext;
foreach($article->find('table') as $table) {
echo $table->outertext;
}
?>