Need just a group of rows from database
Need just a group of rows from database
arielfmdp
Posts: 6Questions: 2Answers: 1
I need to build a table with serverside script, and I just need to retrieve data that match certain condition, always the same condition. And then, the user will search the table with that rows already filtered.
For example: my data base contains 13000 rows, and I just need to show to the user all the rows wich field named "deuda" is not empty or match a mysql regexp condition.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
So put the appropriate query in your serverside script.
oh, ok, I've just thought it could be done at datatables configuration instance. Well, I'll think some kind of trick to do that, for example, I could send a new parameter to the script indicating the need of a new filtering, and make the appropriate query, because it is not always needed.
So, thanks.