i have just start with phpmyadmin, i want to auto fill logs that insert/update in database. i use trigger to do this but it didnt work. how i do next?
here is my code
[table]
CREATE DEFINER=`root`@`localhost` TRIGGER `auto_insert_user`
BEFORE INSERT ON `author` FOR EACH ROW
set @updateby:=CURRENT_USER
update
i try to replace current_user
by user()
but it didnt work