Answer the question
In order to leave comments, you need to log in
How to sort by price?
There is a database in which there are about 40,000 products.
What is the best way to implement sorting in ascending and descending prices:
1. Immediately pull out the sorted array with a
query to the database 2. Sort with usort
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question