From 6e63f963b11d518533bf0a4ab551bb08613b444c Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Tue, 27 Sep 2022 09:16:52 -0500 Subject: [PATCH] Feat(api): Change variable names Changed $json in each API call to $jsonMoney and $jsonLog Issue/Task ID: 1 --- vault.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vault.php b/vault.php index 6f6a3c9..99d2860 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=money&key=LDtibInYMdgVnM9n'); +$objLog = json_decode($jsonLog); echo '

User API - Log

'; echo '
';