Skip to main content
Inspiring
April 3, 2007
Question

Sort search results

  • April 3, 2007
  • 1 reply
  • 248 views
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.
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
April 4, 2007
At the end of your SELECT statement just use ORDER BY yourVariable.