SHARE
TWEET

Untitled

a guest May 16th, 2019 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $url = "https://jsonblob.com/api/jsonBlob/b80b1b40-77a7-11e9-8a3e-4b473af1ffc6";
  2.  
  3. $dat = file_get_contents($url);
  4.  
  5. $d = json_decode($dat,true);  
  6.  
  7.  
  8. $_GET["name"];
  9.  
  10. $calcul = $_GET['name']/$d['usd'] ;
  11.  
  12. $obj = (object)[
  13.     'usd' => "$calcul"
  14. ];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top