Jump to content

Ordering Display Results With MySQL Query


bluewaves

Recommended Posts

I am using this mysql code on a php webpage:

 

...WHERE Name LIKE '%hello kitty%' ORDER BY Category

 

What I want to know is this:

 

The field category - is there a way to specify the order in which you want the categories to show up?

Right now, all I know how to do is to alphabetize them ASC or DESC. I would like to be able to

choose the categories display order without it being alphabetized.

 

Thanks.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.