This topic is locked

History

11/20/2009 8:12:25 PM
PHPRunner General questions
T
Tempus_Erus author

Hi,
Need to create a basic 'history' log.
I have $values["user"] = $_SESSION["UserID"];
but would like to add $oldstring the previous value to the field (thus creating bit of an audit trail)
I believe this should be used before edit.
Any ideas?
Thanks in advance
Ady

woodey2002 11/21/2009

Hang on for a little while. I would say Mid December and you will be a happy man.
Have a look around the forum to see if you can get what i am saying. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=45601&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />
Regards
James
PhpRunners No1 Irish Fan

J
Jane 11/24/2009

Hi,
here is just a sample:

$values["user"]. = " ".$_SESSION["UserID"];



Use this code in the Before record updated event on the Events tab.