php array explode
<p>I seem to be having a problem with the php array explode, I just cant seem to figure out why I am getting a count of 1 when this is ran, there is two entries in $imgURL and from my reading I should have an array with 2 slots. what am I doing wrong?  </p>

<pre><code>$imgURL = "../users/awmayhall/images/andrew1.jpg:../users/awmayhall/images/andrew2.jpg:";
$delimiter=":";
$itemList = array();
$itemList = explode($delimiter, $imgURL);
echo count(itemList);                               

for($i=0;$i&lt;count(itemList);$i++)
{
    echo"&lt;img src='".$imageLocation."' longdesc='".$imageLocation."'/&gt;";
}
</code></pre>
