Order History Sort
My order history is putting the orders in what appears (I'm sure it's not) to be a random order (#61, 62, 51). I would like to sort the order history descending so the most recent order is always first (ORDER BY OrderID DESC). With everything that's going on I'm not sure how to accomplish this.
currently i have this in my record set query...
SELECT OrderID, OrderShipName, OrderAmount, OrderCountry, OrderShipping, OrderEmail, OrderDate, OrderShipped, OrderTrackingNumber
FROM orders
WHERE OrderUserID = WADAUser_ID
I have 2 variables: WADAUser, type N/A, default value -1 $_SESSION['User_ID']
and WADAUser_ID, type interter, default value -1 and no runtime value.
Can you help?