I have it working, it stores all the info I want but it takes a lot of code...
if ($row["Prop_Strap"] <> $Strap)
{
logToDB($User, $PHPSESSID, "Prop", "Prop_Strap", $ID, $row["Prop_Strap"], $Strap);
}
if ($row["Prop_Description"] <> $Description)
{
logToDB($User, $PHPSESSID, "Prop", "Prop_Description", $ID, $row["Prop_Description"], $Description);
}
if ($row["Prop_Summary"] <> $Summary)
{
logToDB($User, $PHPSESSID, "Prop", "Prop_Summary", $ID, $row["Prop_Summary"], $Summary);
}
if ($row["Prop_Keywords"] <> $Keywords)
{
logToDB($User, $PHPSESSID, "Prop", "Prop_Keywords", $ID, $row["Prop_Keywords"], $Keywords);
}
this is fine if there are only a few fields, but on form where i have 30+ fields it is going to be a pain to code. I am sure someon out there will have a more gracefull way of doing this??
TIA - Mark