Hi
I have two price fields in my DB: regprice and offerprice.
regprice must have a value but offerprice is optional
I.e.
regprice = 30
offerprice = 25
I have problem sorting my results by price order because if I sort by regprice it may have a higher value than the price it is being sold at and return an inaccurate order.
Likewise if I sort by offerprice it will only sort the order of items that have an offerprice.
Help?