Aggiunta link ritorno alla lista

This commit is contained in:
2026-01-18 20:30:04 +01:00
parent caed718bc6
commit 330feed202
2 changed files with 1 additions and 2 deletions

View File

@@ -40,7 +40,6 @@ fclose($file);
echo "<tr><td>" . $utenti[$i]->id . "</td><td><a href=\"ordini.php?id=" . $utenti[$i]->id ."\">" . $utenti[$i]->name . "</a></td><td><a href=\"mailto:" . $utenti[$i]->email ."\">" . $utenti[$i]->email . "</a></tr>"; echo "<tr><td>" . $utenti[$i]->id . "</td><td><a href=\"ordini.php?id=" . $utenti[$i]->id ."\">" . $utenti[$i]->name . "</a></td><td><a href=\"mailto:" . $utenti[$i]->email ."\">" . $utenti[$i]->email . "</a></tr>";
} }
?> ?>
</table> </table>
</body> </body>
</html> </html>

View File

@@ -31,6 +31,7 @@ fclose($file);
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>
<a href="index.php">Torna alla lista</a>
<?php <?php
if(count($ordini) == 0){ if(count($ordini) == 0){
echo "<p>Nessun ordine associato all'utente</p>"; echo "<p>Nessun ordine associato all'utente</p>";
@@ -42,7 +43,6 @@ fclose($file);
} }
echo "</table>"; echo "</table>";
} }
?> ?>
</body> </body>
</html> </html>