Skip to content
Advertisement

php get values from json encode

I have an url passing parameters use json_encode each values like follow:

JavaScript

It’s returned a result as:

JavaScript

Can I use json_decode to parse each values for further data processing?

Thanks.

Advertisement

Answer

json_decode() will return an object or array if second value it’s true:

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