J
|
Jane 5/13/2009 |
Hi, global $conn; $str = "insert into Log (username, datefieldname, action) values ('".$_SESSION["UserID"]."', now(),'action')"; db_exec($str,$conn);
|
S
|
sogoli 5/16/2009 |
Hi, I would suggest to create a Log table in your database for this purpose. This table can store information about all changes in the database. After that you can implement AfterSuccessfulLogin, After record added, After record updated events: This is it.
|
J
|
Jane 5/18/2009 |
Replace action with your actual value: update, add, login. |
H
|
helvis2009 6/9/2009 |
hello .. |
J
|
Jane 6/9/2009 |
Hi, global $conn; $str = "insert into Log (username, datefieldname, action, recordid) values ('".$_SESSION["UserID"]."', now(),'update', ".$keys["FieldName"].")"; db_exec($str,$conn);
|
H
|
helvis2009 6/9/2009 |
Ok my friend .. it worked .. thanks! |