我有这个数组
Array
(
[data] => Array
(
[0] => Array
(
[page_id] => 204725966262837
[type] => WEBSITE
)
[1] => Array
(
[page_id] => 163703342377960
[type] => COMMUNITY
)
)
)
我该如何只打印内容而不包含标签结构?
我试过:
foreach ($results as $result) {
echo $result->type;
echo "<br>";
}