I have a string which is in valid Json format and it looks like this:
{ \"message\": \"success\", \"result\": { \"46620\": { \"co
To loop through all the results, something like this should do it:
$obj = json_decode($str); foreach ($obj->result as $result) { $fa_title = $result->fa_title; $en_title = $result->en_title; }