[FX.php List] Change log function?

Malcolm Fitzgerald malcolm at notyourhomework.net
Wed Mar 14 16:52:37 MDT 2012


On 14/03/2012, at 10:22 PM, 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.

What are the crocodile tears for? You don't have to print them all and check them by hand. You're simply going to run a test in a loop.

foreach ($_POST ) {
	if ($stored[$key] = $val ) { 
		$changed[$key] = $val ;
	}
}

malcolm



More information about the FX.php_List mailing list