B
BaWork
I have the following data pulled from a db query - it is calculating the
total number of listings for a given category.
CountOfmain_cat_id main_cat_id main_cat
7 1 Clubs
1 2 Accessories
3 3 Apparel
6 4 Instruction
1 5 Course Equipment
2 8 Real Estate
1 9 Employment
1 10 General
I need to display that information on a page, but not it table. I have
an example mocked-up.
http://brettatkin.com/example.gif
Next to each Cat listing, I put the number of ads for that category (5 Ads).
How do I make this happen, take the data from the rs and put it next to
each Category heading?
I need to assign the value of CountOfmain_cat_id to a variable for each
row so that I can reference that variable in the HTML next to each cat
heading.
I'm stuck... Any ideas?
Thanks.
Brett
total number of listings for a given category.
CountOfmain_cat_id main_cat_id main_cat
7 1 Clubs
1 2 Accessories
3 3 Apparel
6 4 Instruction
1 5 Course Equipment
2 8 Real Estate
1 9 Employment
1 10 General
I need to display that information on a page, but not it table. I have
an example mocked-up.
http://brettatkin.com/example.gif
Next to each Cat listing, I put the number of ads for that category (5 Ads).
How do I make this happen, take the data from the rs and put it next to
each Category heading?
I need to assign the value of CountOfmain_cat_id to a variable for each
row so that I can reference that variable in the HTML next to each cat
heading.
I'm stuck... Any ideas?
Thanks.
Brett