title: How parse through an array in php
body: <p>I have an question with regards to the php array..</p>
  
  <p>I have an array that has an <strong>x</strong> amount values at the end of the array.. </p>
  
  <p>For example, the array would would be </p>
  
  <pre><code>[1] =&gt; 'Hello'
  [2] =&gt; Value1, Value2, Value3
  [3] =&gt; Value1, Value2, Value3
  [4] =&gt; Value1, Value2, Value3
  [5] =&gt; 'Good Bye'
  </code></pre>
  
  <p>or</p>
  
  <pre><code>[1] =&gt; 'Hello'
  [2] =&gt; Value1, Value2, Value3
  [3] =&gt; Value1, Value2, Value3
  [4] =&gt; Value1, Value2, Value3
  [5] =&gt; Value1, Value2, Value3
  [6] =&gt; Value1, Value2, Value3
  [7] =&gt; Value1, Value2, Value3
  [8] =&gt; 'Good Bye'
  </code></pre>
  
  <p>or it could be </p>
  
  <pre><code>[1] =&gt; 'Hello'
  [2] =&gt; Value1, Value2, Value3
  [3] =&gt; 'Good Bye'
  </code></pre>
  
  <p>Here is what I want to do, I want to display the array value from item 2 before the array item containing good bye.</p>
  
  <p>How would I go about doing that?  </p>
  
  <p>Thank you, </p>