Logs

All actions of a table are logged in this table

HIDE CODE
<?php	
	$xcrud2 = Xcrud::get_instance();	
	$xcrud2->table("logs");
	$xcrud2->limit(5);
	$xcrud2->unset_remove();
	$xcrud2->unset_add();
	$xcrud2->unset_edit();
	$xcrud2->order_by('updated','desc');
	echo $xcrud2->render();		
?>

Logs

#Table NameActionUpdated By↓ UpdatedRecord IdDataOld RecordSys Role IdLog Type
Actions
1employeesUPDATE023.04.2025 20:45:521611UPDATE `employees` AS `employees` SET…1611 | Fixter | Andy | x101 |…0 View
2paymentsUPDATE004.04.2025 15:04:3438UPDATE `payments` AS `payments` SET…38 | 8768 | United Kingdom | 2004-11-01 00:00:23…0 View
3paymentsUPDATE004.04.2025 15:04:2238UPDATE `payments` AS `payments` SET…38 | 8768 | United Kingdom | 2004-11-01 00:00:23…0 View
4paymentsUPDATE004.04.2025 15:04:1738UPDATE `payments` AS `payments` SET…38 | 8768 | United Kingdom | 2004-11-01 00:00:23…0 View
5paymentsUPDATE004.04.2025 15:04:1238UPDATE `payments` AS `payments` SET…38 | 8768 | United Kingdom | 2004-11-01 00:00:23…0 View
Search