All,
I need to create an audit record for each update/insert/delete, and not sure how to approach this. Im using the latest Dadabik, fedora, mysql.
I'd like it to be as simple as "(user name) did X" but somehow I know it won't be that simple.
I've thought about using triggers, but not sure how to really do them to begin with (have a general idea) and not sure how to get the username from dadabik to put in there
Another idea I had was to just modify business_logic.php to duplicate the sql hardcoded to an audit table, but get quickly lost going through everything (not very strong with PHP)
So im hoping someone somewhere out there has had to do this. Help!
Thanks,
jeff
I need to create an audit record for each update/insert/delete, and not sure how to approach this. Im using the latest Dadabik, fedora, mysql.
I'd like it to be as simple as "(user name) did X" but somehow I know it won't be that simple.
I've thought about using triggers, but not sure how to really do them to begin with (have a general idea) and not sure how to get the username from dadabik to put in there
Another idea I had was to just modify business_logic.php to duplicate the sql hardcoded to an audit table, but get quickly lost going through everything (not very strong with PHP)
So im hoping someone somewhere out there has had to do this. Help!
Thanks,
jeff