ctoshack Posted April 11, 2006 Share Posted April 11, 2006 In my script as seen below in the admin area I can add whatever categories I wish to add problem is when you add a category it goes to the bottom of the list and the only way to put them into alpha order is to number the sort section to move them. [img src=\"http://www.abidders.com/images/catadd.gif\" border=\"0\" alt=\"IPB Image\" /]These categories are stored in a db.And ouput is generated as show below exactly in the sort order specified in the add category section.[img src=\"http://www.abidders.com/images/catsort.gif\" border=\"0\" alt=\"IPB Image\" /]Is there an easy way that categories could just be added and the output will automatically generate in alpha order from a to z Quote Link to comment Share on other sites More sharing options...
stephenk Posted April 12, 2006 Share Posted April 12, 2006 You can do this with the querySELECT * FROM tblCategory ORDER BY [Fieldname]Stephen 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.