I have a $content
variable, echo $content
shows the following :
{
"ID": 181271,
"version_id": 2137,
"theme_id": 2,
"score": null,
"showstopper": 0
}
Obviously echo $content['ID']
should shows 181271
So I need to iterate all fields. I'm doing:
foreach ($content as $key => $value)
{
echo $key ;
echo $value;
}
And it gives me some crazy result!
incrementing 1 exists 1 wasRecentlyCreated timestamps 1
Expected result:
ID 181271
version_id 2137
etc...