<?php include_once('simple_html_dom.php'); function scraping_IMDB($url) { $html = file_get_html($url); $ret['Tytuł'] = $html->find('title', 0)->plaintext; $ret['Nazwa'] = $html->find('td td', 0)->plaintext; $html->clear(); return $ret; } // ----------------------------------------------------------------------------- $ret = scraping_IMDB('http://www.90minut.pl/liga/0/liga5618.html'); foreach($ret as $k=>$v) "</table>" ?>
Tytuł pobiera jednak nie wiem jak mam pobrać np. kolumnę Nazwa czy też coś innego z tej strony. Proszę o pomoc.