I have the following data I pulled from an API using PHP's file_get_contents($url)
, I would like to parse this data and put each comma separated value into a variable whilst looping to the next set (there are thousands of row, I simply extracted the first two), I have tried parsing methods however most have an element consisting of the datalabel:data
, any assistance would be gladly appreciated.
[[1610223840000,"3.63410000","3.65100000","3.62900000","3.64150000","14194.01000000",1610223899999,"51684.84892800",195,"7619.89000000","27756.15839400","0"],[1610223900000,"3.64610000","3.65090000","3.63410000","3.65000000","2219.73000000",1610223959999,"8090.68646600",46,"1176.75000000","4290.44934900","0"]]
question from:
https://stackoverflow.com/questions/65650221/php-parse-array-data-using-file-get-contentsurl 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…