0
I have a problem, I wanted to show the data of the respective table the query that is made. I can only show the two values within the for cycle. What I want is to show the data outside of the for cycle, like save to an array and show 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;
}
I cannot show the data in the table.
– akm
You want to display the results IN a table or the results IN a table?
– touchmx
The results of a respective table the query.
– akm