hi! i wrote this:
function sort_by_manufacturer($2Darray, $manufacturer){
foreach($2Darray as $v1){
if ($v1[manufacturer]=$manufacturer){
$totalentries+=1;
}
}
return $totalentries;
}
however, it returns this error:
Parse error: parse error, expecting `')'' in /home/mydomain/tmp/list.php on line 9
where line 9 is function sort_by....
any ideas?