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

Sort search results

Explorer ,
Apr 03, 2007 Apr 03, 2007

Copy link to clipboard

Copied

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

Views

218
Translate

Report

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

Copy link to clipboard

Copied

LATEST
At the end of your SELECT statement just use ORDER BY yourVariable.

Votes

Translate

Report

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