• 31-01-2023, 18:19:52
    #1
    Merhaba
    Curl ile birden fazla veri çekip bunları bir tabloda listelemek istiyorum.Nasıl yapabilirim?

    Bu şekilde çektiğimde yalnızca tek bir veriyi listeleyebiliyorum
    $response = curl_exec($curl);
    curl_close($curl);
    $data = json_decode($response, true);
    $symbol =  $data['data']['otherPositionRetList'][0]['symbol'];
  • 31-01-2023, 18:20:55
    #2
    foreach($data['data']['otherPositionRetList'] as $entry){
    echo $entry['symbol'];
    }
  • 31-01-2023, 18:38:49
    #3
    hesapadim adlı üyeden alıntı: mesajı görüntüle
    foreach($data['data']['otherPositionRetList'] as $entry){
    echo $entry['symbol'];
    }
    Teşekkürler hocam