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