Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url = "https://jsonblob.com/api/jsonBlob/b80b1b40-77a7-11e9-8a3e-4b473af1ffc6";
- $dat = file_get_contents($url);
- $d = json_decode($dat,true);
- $_GET["name"];
- $calcul = $_GET['name']/$d['usd'] ;
- $obj = (object)[
- 'usd' => "$calcul"
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement