$title\n"; $sql1 = 'SELECT * FROM '.$db['chants'].' WHERE `office-part` = "'.$id.'" ORDER BY incipit ASC'; $req1 = $mysqli->query($sql1) or die('Erreur SQL !
'.$sql1.'
'.$mysqli->error); $chants = array(); while($c = $req1->fetch_assoc()) { $chants[] = $c; } if(count($chants)) { usort($chants, "custom_cmp"); } echo "\n"; include('include/footer.php'); ?>