diff --git a/vault.php b/vault.php index 6f6a3c9..d318cd1 100644 --- a/vault.php +++ b/vault.php @@ -1,14 +1,14 @@ User API - Money'; echo '
'; print_r($objMoney); echo ''; -$json = file_get_contents('https://api.torn.com/user/?selections=money&key=LDtibInYMdgVnM9n'); -$objLog = json_decode($json); +$jsonLog = file_get_contents('https://api.torn.com/user/?selections=log&key=LDtibInYMdgVnM9n'); +$objLog = json_decode($jsonLog); echo '
';