Update $modified on edit
Update $modified on edit
![frabaprecl](https://secure.gravatar.com/avatar/b5394989a5eddeb8bfb8b3a052079576/?default=https%3A%2F%2Fvanillicon.com%2Fb5394989a5eddeb8bfb8b3a052079576_200.png&rating=g&size=120)
Using editor, I have a database where I want to know who last updated any cell.
$modified is what I want updated on any successful edit with $username.
This discussion has been closed.
Using editor, I have a database where I want to know who last updated any cell.
$modified is what I want updated on any successful edit with $username.
Answers
You don't provide much information.
Where does $username come from?
What data type is the $modified field?
Are you using Editor's PHP libraries?
So all the information comes from the mysql database.
$username is being set as a variable per user login.
$modified will be set to $username so we know who last modified the table.
I am using editors PHP libraries.
working site http://esig.hkgdf.com/edit.php
Can you show us the PHP code please?
Allan