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 charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TechStore</title> <title>TechStore</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>
<table> <table>
@@ -38,9 +39,10 @@ fclose($file);
</tr> </tr>
<?php <?php
for($i=0; $i<count($utenti); $i++){ 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> </table>
</body> </body>
</html> </html>

3
style.css Normal file
View File

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