diff --git a/index.php b/index.php index 417bd73..c17a03c 100644 --- a/index.php +++ b/index.php @@ -1,32 +1,53 @@ + query($sql); // Interruzione in caso di errore nella richiesta if ($resultDispositivi === false){ die("Errore nella query: " . $conn->error); } - -//Query per ottenere le statistiche social -$sql = "SELECT s.id_stat_social, f.range_eta, s.piattaforma, s.minuti_medi_giornalieri, s.percentuale_penetrazione FROM Statistiche_Social s JOIN Fasce_Eta f ON f.id_fascia = s.id_fascia"; -$resultSocial = $conn->query($sql); - -// Interruzione in caso di errore nella richiesta -if ($resultSocial === false){ - die("Errore nella query: " . $conn->error); -} ?>
-| Fascia d'Età | +Ore Totali Giornaliere | +
|---|---|
| + | ore | +
Accedi o Registrati per visualizzare le statistiche.
+ \ No newline at end of file