Hey everyone, I am inserting a drop down menu that will allow a user to sort
the database result on my page. The problem is, i'm not sure where to add the
sort command in my SQL query. Below is a sample of my query, if anyone knows
what and where I should insert this statement I would be most greatful! SQL
query: mysql_select_db($database_localconn, $localconn); $query_clockset =
'SELECT sku, manufacturer, item, smallpic, price FROM clocks ORDER BY smallpic
DESC'; $query_limit_clockset = sprintf('%s LIMIT %d, %d', $query_clockset,
$startRow_clockset, $maxRows_clockset); $clockset =
mysql_query($query_limit_clockset, $localconn) or die(mysql_error());
$row_clockset = mysql_fetch_assoc($clockset); Here are the links in my drop
down menu: '?sort=price'>Price '?sort=manufacturer'>Manufacturer
'?sort=item'>Item Name '?sort=sku'>SKU