SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast Bobosse's Avatar
    Join Date
    Feb 2003
    Location
    California
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GROUP BY funtion - Need your thoughts

    Hi all,

    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?

    Thanks!

    Bobosse

  2. #2
    Non-Member
    Join Date
    May 2003
    Location
    Mtl.
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alternative to while loop ? Mayby it could work... give us the code !


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •