View Single Post
  #1 (permalink)  
Old 02-12-04
morleymouse's Avatar
morleymouse morleymouse is offline
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,769
Thanks: 3
Thanked 13 Times in 9 Posts
morleymouse is an unknown quantity at this point
  ORDER BY price desc

any reason why 'ORDER BY price desc' wouldnt order the products by price, from highest to lowest in a my sql query?

because it isnt...

yes the column name is 'price'

the full query is jus select all from my table where something = something and this works fine as its showing products, then it has the order by price and them a limit 0,30

all works part from the prices, which just seem random any ideas
__________________
Dan Morley
Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Reply With Quote
Sponsored Links