Put data between foreach() in PHP
<p>How can I put data between specific results in the foreach() function?, I have an array like this:</p>

<pre><code>array('01:data1:data2:data3', '01:data4:data5:data6', '02:data1:data2:data3')
</code></pre>

<p>When I print the array with <code>foreach()</code> I want to put html code between each number, like:</p>

<pre><code>&lt;ul&gt;
&lt;li&gt;01:data1:data2:data3&lt;/li&gt;
&lt;li&gt;01:data4:data5:data6&lt;/li&gt;
&lt;/li&gt;Image&lt;/li&gt;
&lt;li&gt;02:data1:data2:data3&lt;/li&gt;
&lt;li&gt;Image&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>Is it possible?</p>
