Jump to content

Find out what has changed, and insert it into a separate table?


yaricks

Recommended Posts

Well, yes... I have that, but I want to use the log table on multiple things, SO! I want to insert into the log page only what has changed. I guess I could use

 

if($OriginalValue != $PostedValue) 
$NewLogVariableWithNewInfo

 

But it seems like a lot of unnecessary lines of code and extra stuff in the database? Or is it the only way?

 

/Yaricks:)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.