Hi,
when I used following query, I may get couple of catagory, but each catagory grouped by term should have a array list too. How could I use PHP displaying each catagroy and its subarray under the catagory in same time?
$result= mysql_query("select id, name, term, count(*) from term where name like '%$S%' group by term", $db);
if (isset($result)) {
while ($row = mysql_fetch_array($result))
{
..
supposed like
7 comt
A
B
C
D
E
F...
165 fun
23 pro
thanks