|
";
else
echo htmlspecialchars( $old_values[ $attr ] ) . " ";
echo " | ";
if( is_array( $new_val ) )
foreach( $new_val as $i => $v )
if( $v == '' ) {
// remove it from the update array if it's empty
unset( $update_array[ $attr ][ $i ] );
$update_array[ $attr ] = array_values( $update_array[ $attr ] );
} else
echo htmlspecialchars( $v ) . " ";
else
if( $new_val != '' )
echo htmlspecialchars( $new_val ) . " ";
echo " |
\n\n";
}
?>