Aggiunta link ritorno alla lista
This commit is contained in:
@@ -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>
|
||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user