Le fichier cache/stats/votes/37091-nbVotesFichier.php n'existe pas alors on le regenere avec createNbVotes('fichier', 37091); !
Warning: Undefined variable $esult in /home/subsynch/www/admin/texte/cache/fonctions_communes.php on line 651
Warning: Trying to access array offset on null in /home/subsynch/www/admin/texte/cache/fonctions_communes.php on line 651
Warning: Trying to access array offset on null in /home/subsynch/www/admin/texte/cache/fonctions_communes.php on line 651
Warning: Undefined variable $esult in /home/subsynch/www/admin/texte/cache/fonctions_communes.php on line 652
Warning: Trying to access array offset on null in /home/subsynch/www/admin/texte/cache/fonctions_communes.php on line 652
Warning: Trying to access array offset on null in /home/subsynch/www/admin/texte/cache/fonctions_communes.php on line 652
SELECT `fichier_id`, COUNT(*) AS `nb` FROM `tbl_vote` WHERE `fichier_id` = 37091 ORDER BY `id_vote` ASC On rempli l fichier cache/stats/votes/37091-nbVotesFichier.php Les fichiers cache/stats/votes/nbVotesFichier.php ont bien été généré avec le nombre de vote pour chaque de chaque fichierArray
(
[37091] => Array
(
[contre] =>
[pour] =>
)
)
Le tableau nbVote est 1 contenu dans cache/stats/votes/37091-nbVotesFichier.phpArray
(
[37091] => Array
(
[contre] =>
[pour] =>
)
)
$fichier[pour] = $fichier[contre] =