I'm Pulling a set of Ids from a database. Once I hve the set I want to count the array and show each entry and it qty
I'm useing a standard query to fetch the id
$result = mysql_query("SELECT * FROM table
Tgen useing a while
while($row = mysql_fetch_array($result)){$ids .= $row[ids] }
this is going to store all Ids in the var $ids;
What I need at this point is to convert this to an array and the count each instant of an ids appreance in this array i.e
id --- Qty
4 => 3
5 => 7
6 => 3
any help is appreciated