for example when user click the link below,then show the datatable between date range.
"http://test.com/table.php?sdate=2022-07-31 08:00&edate=2022-08-01 08:00"
How are you generating the table - are you building in as HTML inside the table.php script? If so, just use the sdate and edate GET parameters as conditions in your SQL statement used to read from the database.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.