Update index.php
This commit is contained in:
parent
64c161d157
commit
382275409e
|
@ -43,7 +43,7 @@ if ($result->num_rows > 0) {
|
|||
$datefin = date("d/m/Y", strtotime($findate));
|
||||
$nombrejours = $row["nbjours"];
|
||||
$link = 'class/class.remove.php?datedebut=" . $row["datedebut"] . "&datefin=" . $row["datefin"]. "'
|
||||
echo "<tr><td> " . $datedebut. " </td><td> " . $datefin. " </td><td> " . $nombrejours . " jour(s) </td><td> " . $row["type"] . " </td><td><button onclick="$link">Supprimer la ligne</button></td></tr>";
|
||||
echo "<tr><td> " . $datedebut. " </td><td> " . $datefin. " </td><td> " . $nombrejours . " jour(s) </td><td> " . $row["type"] . " </td><td><button onclick="window.location.href=$link">Supprimer la ligne</button></td></tr>";
|
||||
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user