First table
Name = category
cat_id
cat_name
Second table
Name = products
catid ( which gets the cat_id from category table )
I want to show the count of catid in prodtucts table and get the cat_name from category table
So in Products table there may be 50 catid with value of 1 and 32 of catid with value of 2 and so on
Now need to show that count plus the cat_name
SO it may look like this on a page :
Music cd's = ( 32 )
Computers = ( 50 )
I hope this makes sence.....