omergunay adlı üyeden alıntı: mesajı görüntüle
<?php

$link = "https://wowtokenprices.com/current_prices.json";

$data = file_get_contents($link);

$json = json_decode($data);

echo $json->eu->current_price;

?>
@Hellscream;
Bu kodu direkt verinin gözükeceği yere mi koymam gerekiyor hocam? PHP kodu bu şekilde HTML içine ekleyebiliyor muyuz ki?

Mesela bunu şu şekilde yapabiliyor muyuz;
<span id="token-data"></span>
şeklinde bir span yazdığımda, bu span içine current_price verisi gelsin.