title: WordPress meta box output on each line
body: <p>Ive been looking for a way I can take a WordPress custom meta box's content that is entered on each line and output said contents on each line instead of in a single line, example:</p>
  
  <pre><code>Mon
  Tues
  Wed
  Thurs
  Fri
  Sat
  Sun
  </code></pre>
  
  <p>The above days of the week are entered in a custom meta box and I can output the contents of the meta box in my single.php with:</p>
  
  <pre><code>&lt;?php if ( 'custom_post_type' == get_post_type() ) :
      $foobar_meta = get_post_meta( get_the_ID(), 'meta-textarea', true );
      if( !empty( $foobar_meta ) ) : ?&gt;
          &lt;div class="jedi"&gt;
              &lt;ul id="workload"&gt;
                  &lt;li&gt;&lt;?php echo $foobar_meta; ?&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;?php endif; ?&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>However when I run the code it outputs as: <code>&lt;li&gt;Mon Tues Wed Thurs Fri Sat Sun&lt;/li&gt;</code>.  How can I target everything that is entered on a line and output individually as:</p>
  
  <pre><code>&lt;li&gt;Mon&lt;/li&gt;
  &lt;li&gt;Tues&lt;/li&gt;
  &lt;li&gt;Wed&lt;/li&gt;
  &lt;li&gt;Thurs&lt;/li&gt;
  &lt;li&gt;Fri&lt;/li&gt;
  &lt;li&gt;Sat&lt;/li&gt;
  &lt;li&gt;Sun&lt;/li&gt;
  </code></pre>
  
  <p>Per my research I assume I would use an <code>array()</code> with a <code>foreach</code> but targeting each line I am having difficulties in what to use to call the meta box to run through.  I did look on the codex but I didn't see anything on how to target what I need.  So how can I with PHP take content that is entered on a single line and display it's look on the site?</p>