I'm having a problem, I wanted to show the table data regarding the query that is done. I can only display the two values within the for loop. What I want is to show the data outside the for loop, type save to an array, and display that array.
for($y=2; $y>0; $y--){
$base_hndl = new SQLite3($dir.$base);
$requete = "SELECT id, title, start, end, description, jour, mois, annee, date
FROM \"event\"
WHERE jour=\"$i\"
AND id=$y";
$resultat = $base_hndl->query($requete);
$affiche = $resultat->fetchArray();
$result = "<label><b>$affiche[title]</b></label><br>";
echo $result;
}