Compare commits

...

2 Commits

Author SHA1 Message Date
528069e819 Aggiunta bordi tabella 2026-01-16 11:43:46 +01:00
3a0e5ecab0 Aggiunta nomi e email in tabella implementata 2026-01-16 11:40:34 +01:00
2 changed files with 6 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ fclose($file);
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TechStore</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<table>
@@ -38,9 +39,10 @@ fclose($file);
</tr>
<?php
for($i=0; $i<count($utenti); $i++){
echo "<tr><td>" . $utenti[$i]->id . "</td></tr>";
echo "<tr><td>" . $utenti[$i]->id . "</td><td>" . $utenti[$i]->name . "</td><td><a href=\"mailto:" . $utenti[$i]->email ."\">" . $utenti[$i]->email . "</a></td></tr>";
}
?>
</table>
</body>
</html>

3
style.css Normal file
View File

@@ -0,0 +1,3 @@
table, th, td{
border: 1px solid;
}