I created a datatable on my dashboard.php page. $query = "..."; $data = $db->getAll($query, null, null, null, MDB2_FETCHMODE_ASSOC); <?php
DataTables::create(array(
"dataSource"=>$lastresult,
"columns"=>array(
'0' => array('label' => 'Hizmetler'),
'6' => array('label' => '6 Ay'),
)
));
?> I want to add an export button to the page I made.