This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Get the data | |
$grab = file_get_contents("http://api.minebook.me/player/ironviking/wall"); | |
//Decode the json to a associative array | |
$data = json_decode($grab,true); | |
//How many messages to grab? (will grab 10) | |
$take = 10; | |
//While x (0) is less then take (10) | |
for($x = 0; $x < $take; $x++;){ | |
//Echo it out from the array |