Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Mysql equivalent to Datatables search()

$
0
0

Since my table has server-side enabled Im creating a stand-alone server side script which exports to excel.

Basically I fetch data from mysql and use phpspreadsheet for excel creation.

Naturally I want the excel being exported to be identical to the current table shown client-side.

Im not sure how to best approach that,
I know that I can get alot from DT API, columns visible for example,
But how can I make a mysql query which returns the exact same rows as a search made in datatables (the regular standard search input)

I know search() is more complicated than ’=’ and ’%LIKE%’

Happy easter :smile:


Viewing all articles
Browse latest Browse all 2364

Trending Articles