Results 1 to 2 of 2
May 24, 2003, 18:07 #1
- Join Date
- Feb 2003
- 0 Post(s)
- 0 Thread(s)
GROUP BY funtion - Need your thoughts
I have been trying to use the GROUP BY function and I am getting in front of a wall!!
I am pulling an element from a table as first category and check at the same time if there is any second category associated to the first one. If none, the first category links to the items under that category.
If there is a second category associated to the first category, I want these second categories to be display under the first category using the "while" loop.
Problem, for some first categories which have second categories, it works fine (meaning it displays the second categories within the loop), for some other first categories, it does not show the second categories...
Any idea why?