Mam problem z wyciągnięciem danych z tabeli.
<?php include 'simple_html_dom.php'; $html = file_get_html('http://sirxmikel.republika.pl/G.htm'); foreach($html->find('div[id=ctl00_cph1_bsa1_divSymbols] td[!align] text') as $key => $zapis) { } ?>
Chciałbym, żeby były one ułożone jeden pod drugim, tak jak w tabeli, natomiast po uruchomieniu tego wychodzi mniej więcej taki tekst :
GAF SPDR Index Fund GAZ IPATH NAT GAS ETN GBB IPATH GBP/USD EXCHANGE RATE ET GBF ISHARES LEHMAN GOVER GBR New Concept Energy Inc GCC GreenHaven Continuous Commodity Index GCE CLAYMORE CEF CONNECT GDX Market Vectors ETF Trust GDXJ GEX Globix Corp GGN The Gabelli Global Goldn Natural GGN-A The Gabelli Global Goldn Natura
A chciałbym żeby było coś takiego :
GAF SPDR Index Fund GAZ IPATH NAT GBR New Concept Energy Inc GCC GreenHaven Continuous Commodity Index GCE CLAYMORE CEF CONNECT G DX Market Vectors ETF Trust
Proszę o porady . Dzięki z góry