Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Sort search results

Explorer ,
Apr 03, 2007 Apr 03, 2007
Hi all, I have a page that is pulling my product from a sql db based on selections made by the user, they select gender first then style and this then shows all product matching. What I know need to do is give the functionality to sort by either colour, or price?

Any help with how this done would be gratefully received.

Cheers

Karl.
TOPICS
Server side applications
247
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 03, 2007 Apr 03, 2007
LATEST
At the end of your SELECT statement just use ORDER BY yourVariable.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines