title: How can I echo or print an array in PHP?
body: <p>I have this array</p>
  <pre><code>Array
  (
    [data] =&gt; Array
      (
        [0] =&gt; Array
          (
            [page_id] =&gt; 204725966262837
            [type] =&gt; WEBSITE
          )
  
        [1] =&gt; Array
          (
            [page_id] =&gt; 163703342377960
            [type] =&gt; COMMUNITY
          )
        )
  )
  </code></pre>
  <p>How can I just echo the content without this structure?</p>
  <p>I tried</p>
  <pre><code>foreach ($results as $result) {
      echo $result-&gt;type;
      echo &quot;&lt;br&gt;&quot;;
  }
  </code></pre>