Author

Topic: PHP Question For a GURU (Read 1179 times)

full member
Activity: 210
Merit: 100
February 21, 2015, 05:56:38 PM
#3
You have to use a loop.


Damn loops. They never go away go they.
legendary
Activity: 1498
Merit: 1000
February 21, 2015, 05:48:54 PM
#2
You have to use a loop.
full member
Activity: 210
Merit: 100
February 21, 2015, 05:43:22 PM
#1
Hello! I have a PHP question that has been stumping me for the last 24 hours and I think someone who knows what they are doing would have a simple answer. 

If this is returning single values for an exchange

Code:
$btcbtcchinaPrice = $btcbtcchinaUSD["ticker"]["last"];
$btcbtcchinaVol = $btcbtcchinaUSD["ticker"]["vol"];

How would I change those tags to return all values under certain rows on this api

http://api.bitcoincharts.com/v1/markets.json


I just cant figure out the way to write the selectors, everything i try gives errors  Embarrassed
Jump to: