title: PHP Printing a variable from an array of meta keys in WordPress
body: <p>I'm trying to print the 'artistName' meta keys in a list from the following array:</p>
  
  <pre><code>$postID = $post-&gt;ID;
  $meta = get_post_meta($postID, $_artistMeta-&gt;$postID, TRUE);
  print_r($meta);
  </code></pre>
  
  <p>(which prints the following)</p>
  
  <pre><code>   Array
      (
          [_artistMeta] =&gt; Array
              (
                  [0] =&gt; a:1:{s:10:"artistName";a:2:{i:0;s:33:"la-semilla-de-la-cultura-africana";i:1;s:9:"radiohead";}}
              )
      )
  </code></pre>
  
  <p>So I want to print/echo the artist names ("la-semilla-de-la-cultura-africana" and "radiohead")... I tried the following two:</p>
  
  <pre><code>foreach ($meta['artistName'] as $artist) {
       echo $artist;
  }
  </code></pre>
  
  <p>which prints nothing... OR</p>
  
  <pre><code>foreach ($meta['_artistMeta'] as $artist) {
       echo $artist['artistName'];
  }
  </code></pre>
  
  <p>which prints "a".</p>
  
  <p>If you can help me with the syntax here, I'd really appreciate it!
  Thanks!</p>