Add headers

This commit is contained in:
Ubergeek 2019-02-06 14:24:33 +00:00
parent bf5d49fda2
commit 44f44221a6
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ $f = fopen("./report", "r");
echo "Last update: " . date ("H:i", filemtime('./report'))."<p>\n";
echo "<table>";
echo " <tr>
<th>Host</th>
<th>Check</th>
<th>Status</th>
</tr>";
while (($line = fgetcsv($f)) !== false) {
echo "<tr>";
if ($hosts == "failed" ) {