Counting Array's in PHP
<p>I was wondering how I could go about counting the number of array's that are found in my script:</p>

<pre><code>if(preg_match_all('/&lt;td[^&gt;]*class="sourceNameCell"&gt;(.*?)&lt;\/td&gt;/si', $printable, $matches, PREG_SET_ORDER));{
foreach($matches as $match) {

$data = "$match[1]";

    $array = array();
    preg_match( '/src="([^"]*)"/i', $data, $array ) ;
    print_r("$array[1]") ;
}
</code></pre>

<p>Any help would be great, Thanks!</p>
