prepare("SELECT COUNT(*) as n FROM Libri"); $stmt->execute(); $data = $stmt->fetch(); echo "Volumi: " . $data["n"]; ?>
prepare("SELECT COUNT(DISTINCT Autore) as n FROM Libri"); $stmt->execute(); $data = $stmt->fetch(); echo "Autori: " . $data["n"]; ?>