Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <?php
  2.  
  3. $db = mysqli_connect("localhost","root","DevTest1","currencycheck");
  4.  
  5.  
  6. $json = "http://api.fixer.io/latest?base=ZAR";
  7.  
  8. $jsonfile = file_get_contents($json);
  9.  
  10. var_dump(json_decode($jsonfile));
  11.  
  12. echo $jsonfile;
  13.  
  14.  
  15.  
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement