Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set('display_errors',1);
- error_reporting(E_ALL);
- $json = file_get_contents("http://www.reddit.com/by_id/t3_n62lf.json");
- $json_output = json_decode($json, TRUE);
- /*echo "<pre>";
- print_r($json_output);
- echo "</pre>";*/
- echo $json_output['score'];
- ?>
Add Comment
Please, Sign In to add comment