|
$sorties = mysql_db_query("$base" , "select enfants.*, categories_enfants.libelle from enfants, categories_enfants where (categories_enfants.id = enfants.categorie) order by categories_enfants.libelle, enfants.titre");
$max = mysql_numrows($sorties);
$i=0; $affiche = 0;
while ($i<$max){
if ((mysql_result($sorties, $i, "categorie") == $categorie) || ($categorie == "")) {
$affiche = 1;
?>
">
}
$i++;
}
if ($affiche == 0) {
?>
Aucune information disponible.
}
?>
|