how to get value from array in php from api here is my code
 $data = callBitAPI('GET','https://min-api.cryptocompare.com/data/pricemultifull?fsyms='.strtoupper($bc->slug).'&tsyms=USD');
        if(!empty($data)){
            $data = json_decode($data,true);
          //  echo '<pre>';
          // print_r($data);
            $data = getRelevantCryptoArray($data,$bc->slug);
        }
and here is my result Please see Attachment http://prntscr.com/k7hawi
 
     
     
    