Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~490 People Reached
Favorite Forums
Favorite Tags
php x 13
Member Avatar for alanlai

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) { …

Member Avatar for diafol
0
78
Member Avatar for alanlai

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 …

Member Avatar for alanlai
0
232
Member Avatar for alanlai

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 …

Member Avatar for hielo
0
180