Sorry if my question was not clear, I meant to ask if a user inserts some data in mysql database, then i want to log that action)
For example, User A inserts data
Quote:
mysql_query("INSERT INTO User (FirstName, LastName)
VALUES ('Peter', 'Griffin')");
|
Another user inserts some data in other table.
Quote:
mysql_query("INSERT INTO Phone(Name)
VALUES ('123')");
|
After the user has inserted the data successfully; I want to log the above activity, such as
A User inserted his Name.
A user inserted his phone number.
I'd appriciate any help.