View Full Version : Correct statement to count all links under a parent cat?
jay275
03-17-2006, 01:15 AM
With the show count featured enabled, it currently counts the number of links under the parent category, and counts the number of sub cats as a link. What I have been trying to do without success is have the total number of links under each parent category (including those in sub-cats) displayed instead. Does anyone have the correct sql statement to do this? Much appreciated!
Neticus
03-17-2006, 01:22 AM
Maybe try this:
{topic moved or deleted}
jay275
03-18-2006, 05:43 PM
That worked perfectly! Thanks.
crawlr
05-16-2006, 11:25 PM
Hi--
I'm trying to do the same thing, however the link that you put up Neticus isn't working anymore. Can someone please help me out?
Thanks in advance.
Ron
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.