How to make custom sorting changes the order of entries?

Displays a list of all articles. The client wants to he could change the order in which they appear according to your taste.
How is it organized? Or at least some request to Google
April 7th 20 at 10:56
2 answers
April 7th 20 at 10:58
You can give the user the option in the interface to select fields to sort by and the sort direction (ASC/DESC) and store the result to the user generated section ORDER BY.
The question is not about that - Frederic_Mann commented on April 7th 20 at 11:01
April 7th 20 at 11:00
Give the handler the data in a to get handler already generates the query based on the received data, at the end of the form the request and sends to the database. Accordingly, all input to filter and classify.

Find more questions by tags PHPMySQL