How to get array values between 2 keys and put into string
<p>Im looking for a way to take a php array and pass the values between a couple of array keys and save into a string.</p>

<pre><code>$array1 = array(0=&gt;'sometext',
                1=&gt;'1703',
                2=&gt;'North',
                3=&gt;5th',
                4=&gt;'st',
                5=&gt;'sometext')


I know the starting key and the end key in my script
$startnum = 1;
$endnum  = 4;
I need to get this
$string = '1703 North 5th st'
</code></pre>

<p>without changing the keys in the array because i have to iterate over the array again later. I am currently using array splice but it removes the items and key in the array so when i iterate over the array again the keys and values are all messed up. Please let me know if i need a better explanation. </p>
