Jalon Juanis Jalon Juanis - 4 days ago 6
Javascript Question

How to read JSon array using PHP [SOLVED]

I'm looking solution for solve my problem to read JSon array using php. I'm using php

file_get_contents
to read the JSon array.

So, here is how my array look like,My array

Can anyone tell me how can I read all the array?

Answer

return your array with json_encode($array) it will return a JSON Object.

Comments