abfangen von lereen arrays

git-svn-id: svn://svn.cccv.de/engel-system@175 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 18 years ago
parent f1b6bff8c0
commit 7842bc18a5

@ -51,6 +51,8 @@ if( !function_exists("db_query"))
$Diff .= "<tr>\n\t<th>Feldname</th>\n\t<th>old Value</th>\n\t<th>new Value</th>\n"; $Diff .= "<tr>\n\t<th>Feldname</th>\n\t<th>old Value</th>\n\t<th>new Value</th>\n";
$Diff .= "</tr>\n"; $Diff .= "</tr>\n";
foreach($Daten1 as $DataKey => $Data1) foreach($Daten1 as $DataKey => $Data1)
{
if( isset( $Daten2[$DataKey]))
{ {
$Data2 = $Daten2[$DataKey]; $Data2 = $Daten2[$DataKey];
foreach($Data1 as $key => $value) foreach($Data1 as $key => $value)
@ -60,6 +62,13 @@ if( !function_exists("db_query"))
$Diff .= "<tr>\n\t<td>$key</td>\n\t<td>$value</td>\n\t<td>".$Data2[$key]."</rd>\n</tr>"; $Diff .= "<tr>\n\t<td>$key</td>\n\t<td>$value</td>\n\t<td>".$Data2[$key]."</rd>\n</tr>";
} }
} }
else
foreach($Data1 as $key => $value)
{
$Gefunden=TRUE;
$Diff .= "<tr>\n\t<td>$key</td>\n\t<td>$value</td>\n\t<td></rd>\n</tr>";
}
}
$Diff .= "</table>\n"; $Diff .= "</table>\n";
if( $Gefunden) if( $Gefunden)

Loading…
Cancel
Save