Compare commits
2 Commits
8abbf13c68
...
es-prof
| Author | SHA1 | Date | |
|---|---|---|---|
|
1cb277d22f
|
|||
|
b14e09af6d
|
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
$host = "localhost";
|
||||
$user = "root";
|
||||
$pass = "root";
|
||||
$pass = "";
|
||||
$db = "aeroporto";
|
||||
|
||||
$conn = mysqli_connect($host, $user, $pass, $db);
|
||||
|
||||
@@ -138,13 +138,11 @@ $query_risultato = mysqli_query($conn, $sql);
|
||||
|
||||
<table border="1" style="width:100%; margin-top:20px; text-align:left;">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Username</th>
|
||||
<th>Email</th>
|
||||
</tr>
|
||||
<?php while ($riga = mysqli_fetch_assoc($query_risultato)): ?>
|
||||
<tr>
|
||||
<td><?php echo $riga['id']; ?></td>
|
||||
<td><?php echo htmlspecialchars($riga['username']); ?></td>
|
||||
<td><?php echo htmlspecialchars($riga['email']); ?></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user