Update $modified on edit
Update $modified on edit
frabaprecl
Posts: 3Questions: 1Answers: 0
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.
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