Jump to content

Format SQL to display data in a group?


influenceuk

Recommended Posts

Can any one tell me if there is a way to display data from a MySQL DB in groups?

 

For example:

 

May:

Item 1            1/05/2007

Item 2            2/05/2007

Item 3            3/05/2007

 

June:

Item 4            1/06/2007

Item 5            2/06/2007

Item 6            3/06/2007

 

And so on...

 

Obviously i would be after having a title of that current month etc. But would need the data to go and update on its own, so once may has gone, June would be he first month, if you see what i mean?

 

Any help would be great cheers :)

 

 

Link to comment
Share on other sites

Barand,

I tried it however i could not get it to work :(

 

Basically i have this table set up...

Title Studio Release

 

Now i wanna get try get them displayed in months as stated above.

I saw what you had given the other guy worked for him, i could just not work out how to mod the code for my use?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.