Author Topic: list title once and all related entries  (Read 622 times)

0 Members and 1 Guest are viewing this topic.

Offline peter.tTopic starter

  • Irregular
  • Posts: 13
    • View Profile
list title once and all related entries
« on: November 20, 2009, 03:12:43 PM »
Confusing, I know.
I have two columns in my mysql table; Title and Season.

An example entry looks like this:
Title: People visit place x
Season: Winter 2009

What I would like to do, on my list page is list the Season and then list all the entries in that season.  So the list would look like this:

Winter 2009
  People visit place x
  Speech y was given here
  Group s toured facility j

As opposed to this:
  Winter 2009 People visit place x
  Winter 2009 Speech y was given here
  Winter 2009 Group s toured facility j

Any chance I’m just having a mental mind-block and this is easy to do?

Thanks!

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Mind Boggling!'
  • *
  • Posts: 15,443
  • Gender: Male
    • View Profile
Re: list title once and all related entries
« Reply #1 on: November 25, 2009, 03:58:19 PM »
That's up to your application code to "collect".
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.