Skip to content
Advertisement

Cant access JSON data with PHP

im trying to access the ID and SENT from this JSON but is not working for me.

UPDATED

JavaScript

Advertisement

Answer

Use the php json_decode() function. Like this:

JavaScript

1 is the equivalent for a boolean value of true

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement