SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict JamieJelly's Avatar
    Join Date
    Jan 2004
    Location
    London
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help formatting mysql response

    Hi guys, I have a query that supplies me with hierarchical data that I need to format in to an unordered list.

    The mySQL response looks something like the first attachment and how I want the unordered list to appear is the second attachment.

    I can't work out how to create this, so any help would be greatly appreciated.

    The screenshots are from r937's link he posted over in the mySQL forum when helping me with my query.

    Thanks
    Attached Images Attached Images
    International calls from the UK
    Cheap International Calls

  2. #2
    SitePoint Guru
    Join Date
    Feb 2002
    Location
    NZ
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Go to CodeThat.Com
    Look for a script called codethattree, about 1/2 way down.

    You will need to alter it, but it should meet your needs.

    Hope that helps


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
  •