I need help, I have a problem with Array results .
The code I'm using is:
$presents = json_decode(fBGetDataStore('presents'), true);
and print the result:
<?= print_r($presents) ?>
shows this result :
Array ( [0] => Array ( [sender] => 100009016810227 [itemCode] => 0f8g [itemContext] => normal [extraData] => )
[1] => Array ( [sender] => 100009016810227 [itemCode] => 0fcm [itemContext] => normal [extraData] => )
But I want the result:
[1] Sender ID: 100009016810227 and Item Code is 0f8g
[2] Sender ID: 100009016810227 and Item Code is 0fcm
source
share