Correct error
This commit is contained in:
parent
f1ccd39f15
commit
61c8fdc536
|
@ -42,7 +42,8 @@ if ($result->num_rows > 0) {
|
|||
$findate = str_replace('-"', '/', $row["datefin"]);
|
||||
$datefin = date("d/m/Y", strtotime($findate));
|
||||
$nombrejours = $row["nbjours"];
|
||||
echo "<tr><td> " . $datedebut. " </td><td> " . $datefin. " </td><td> " . $nombrejours . " jour(s) </td><td> ". $row["type"]." </td><td><a href=\"class/class.remove.php?datedebut=" . $row["datedebut"] . "&datefin=" . $row["datefin"]. "\" class="button">Supprimer la ligne</a></td></tr>";
|
||||
echo "<tr><td> " . $datedebut. " </td><td> " . $datefin. " </td><td> " . $nombrejours . " jour(s) </td><td> ". $row["type"]." </td><td><a href='class/class.remove.php?datedebut=" . $row["datedebut"] . "&datefin=" . $row["datefin"]. "' class='button'>Supprimer la ligne</a></td></tr>";
|
||||
|
||||
}
|
||||
} else {
|
||||
echo "<tr colspan='4'><td>Pas de résultat</td></tr>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user