title: php - How do I print this multidimensional array?
body: <p>Lets say I have the following array:</p>
  
  <pre><code>Array ( [1284487200] =&gt; Array ( [title] =&gt; first title [link] =&gt; http%3A%2F%2Fexample1.com ) [1261271380] =&gt; Array ( [title] =&gt; second title [link] =&gt; http%3A%2F%2Fexample2.com )
  </code></pre>
  
  <p>I want to print the array like this:</p>
  
  <pre><code>&lt;a href="http://example1.com"&gt;first title - 1284487200&lt;/a&gt;&lt;br&gt;
  &lt;a href="http://example2.com"&gt;second title - 1261271380&lt;/a&gt;&lt;br&gt;
  </code></pre>
  
  <p>Any ideas would be greatly appreciated!</p>
  
  <p>UPDATE: the 2 answers provided have the same error in that my domain is included in the link, eg. <a href="http://www.mydomain.com/http%3A%2F%example1.com" rel="nofollow noreferrer">http://www.mydomain.com/http%3A%2F%example1.com</a></p>
  
  <p>Any way I can correct that?</p>