I want a table that has a search feature on it so you search for data in the table and where you can sort each column by ascending/descending or by numeric.
How do I do it?
Printable View
I want a table that has a search feature on it so you search for data in the table and where you can sort each column by ascending/descending or by numeric.
How do I do it?
A table within a MySQL database? A table within your website that uses javascript to change the ordering? Be a bit more descriptive.
Where will you be pulling the data from?
Make a MySQL database with the fields in it, then pull the data from MySQL based on the selection.
In your query:
ORDER BY `id` ASC
ORDER BY `id` DESC
ORDER BY `price` ASC
ORDER BY `price` DESC
Like that.