No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hey, guys, why does this code keep output ArrayArrayArray instead of Dec 28 for $data[0], , Dec 27 for $data[7] and so on. i would like to output all the date get from that URL, but my code failed. [CODE] <?php $data = array(); require_once("simple_html_dom.php"); $html=file_get_html("http://finance.yahoo.com/q/hp?s=4707.KL+Historical+Prices"); foreach($html->find('td[class=yfnc_tabledata1]') as $e) { … |
|
I'm dong a school assignment currently.It's an investment website which has interactive chart by using open-flash-chart with latest update. It's design is similar to google finance's interactive flash chart. I have obtained share price data from yahoo finance by using the simplehtmldom. Hyperlink for share price data:[URL="http://finance.yahoo.com/q/hp?s=4707.KL&a=00&b=1&c=2003&d=11&e=27&f=2010&g=m"]http://finance.yahoo.com/q/hp?s=4707.KL&a=00&b=1&c=2003&d=11&e=27&f=2010&g=m[/URL] and then present … |
|
hey guy,i'm a newbie in php and need some help from you guy in this preg_match_all function. i would like to grab the multiple share data in this webpage for change,last trade,volume,trade time,open and so on. this code only able to grab a single line of data, but not multiple … |