article_overview.php aktualisiert
This commit is contained in:
parent
76d1d4ce71
commit
1028785807
|
@ -95,7 +95,8 @@
|
|||
// Daten ausgeben
|
||||
while($row = $result->fetch_assoc()) {
|
||||
$expiration_date = date("d.m.Y", strtotime($row["expiration_date"]));
|
||||
$ten_days_before_expiry = date("d.m.Y", strtotime("-10 days", strtotime($row["expiration_date"]))); // 10 Tage vor dem Ablaufdatum
|
||||
$notification_days = intval($row["notification_days"]); // Tage vor dem Ablaufdatum aus der Datenbank lesen
|
||||
$ten_days_before_expiry = date("d.m.Y", strtotime("-" . $notification_days . " days", strtotime($row["expiration_date"]))); // Tage vor dem Ablaufdatum berechnen
|
||||
$current_date = date("d.m.Y"); // Aktuelles Datum
|
||||
|
||||
echo "<tr";
|
||||
|
|
Loading…
Reference in New Issue