Your Database Website
query($sql);
// Display data in a table
echo "
";
echo "ID | Name | Email |
";
while($row = $result->fetch_assoc()) {
echo "".$row["id"]." | ".$row["name"]." | ".$row["email"]." |
";
}
echo "
";
// Close the database connection
$conn->close();
?>