keepingbusy
Programmer
Hi
The following sql statement has been taken from a file called new_products.php which is part of an oscommerce website.
My issue is that I'm trying to set the order to products_id
I have already changed the code but I still get the same result and the product_id is not showing in that order.
Code:
select p.products_id, p.products_image,
p.products_tax_class_id, if(s.status,
s.specials_new_products_price, p.products_price) as
products_price from " . TABLE_PRODUCTS . " p left
join " . TABLE_SPECIALS . " s on p.products_id =
s.products_id where products_status = '1' [b]order by
p.products_id[/b] desc limit
Thank you