The task is as follows: when updating a table entry, you need to create a trigger that adds the user, table name, field name, action and update time to the change table.
I quote the SQL code for creating a trigger:
DELIMITER $$ CREATE TRIGGER upd_check AFTER UPDATE ON xyz_clients FOR EACH ROW BEGIN INSERT INTO xyz_changes(user, table_name, record, action, date) VALUES(CURRENT_USER, ???, ???, 'update', CURRENT_DATE); END We need to somehow get the name of the updated page and record. Thanks in advance for your help.
for each rowmeans it will be executed separately for each entry - Mike