title: Help me on displaying the contents of array
body: <p>The script gets the content and images from a blog site. A post may have 1 or more images. So what it does, it gets the content of the blog and all the images related to the post. After that, with the double foreach loop it displays the content and the images urls. I am trying to combine the current post's content and images in one or two variables. So I will be able to show the content with an easy way like a for loop and a variable like <code>$varcontent[$i]</code></p>
  
  <pre><code>echo $varcontent[4]["content"]; //shows the content
  echo implode('&lt;br/&gt;', $varcontent[4]["images"]); //shows the images
  </code></pre>