[FX.php List] Change log function?

William Downs william.downs at gmail.com
Wed Mar 14 10:11:50 MDT 2012


Perhaps the following ...

array_diff_assoc($array1, $array2)


On 14 Mar 2012, at 11:22, Bob Patin wrote:

> Well, if I decide to do it that's what I was going to do; I'd also have to save field names too. The problem is that each record has approx. 200 fields in it, all of which are potentially editable on the web.
> 
> That's why I was hoping someone had figured out an easier way or already spun it… :)
> 
> I have an idea: you write it and then just give it to me!
> 
> BP
> 
> 
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> Google+: http://www.longtermsolutions.com/plus
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting 
> FileMaker Hosting for all versions of FileMaker
> 
> On Mar 13, 2012, at 8:03 PM, Jonathan Schwartz wrote:
> 
>> I would approach this in following way:
>> 
>> - Write an array of all the starting form values when the page is displayed. Save to session. 
>> 
>> - write an array of newly posted form values. 
>> 
>> - compare the two array, detecting and saving the changes, which you could write to a single field in a log record. 
>> 
>> How's that sound?
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120314/0f999d28/attachment.html


More information about the FX.php_List mailing list