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?
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?
Hi
A table within a MySQL database? A table within your website that uses javascript to change the ordering? Be a bit more descriptive.
This is our situation and we're happy to be here,
I wouldn't change this place for anything.
I don't have a mysql database for the table or a JavaScript although I will be keen on using the easiest method if somebody could show me a tutorial?
I just want a table that I can sort.
Hi
Where will you be pulling the data from?
This is our situation and we're happy to be here,
I wouldn't change this place for anything.
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.
Want to hide these adverts? Register an account for free!