bluewaves Posted July 11, 2010 Share Posted July 11, 2010 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. Quote Link to comment Share on other sites More sharing options...
fenway Posted July 11, 2010 Share Posted July 11, 2010 You can use ORDER BY FIELD() if you know the order your want. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.