1 2 3 4 5 6 7 8 9 10 11 12 13
|
$sql = "SELECT fd_canton_manif,fd_city_manif,fd_nom_manif,id FROM manifestations ORDER BY fd_canton_manif DESC";
$query = mysql_query($sql)or die(mysql_error());
while($data = mysql_fetch_assoc($query))
{
// on affiche les informations de l'enregistrement en cours
foreach($tb_canton as $key => $value){
if($key == "ge")
echo utf8_encode($value);
}
echo $data['fd_canton_manif'];
echo '<i><a href="maniestations-et-loisirs.php?activite='.$data['fd_nom_manif'].'&id='.$data['id'].'">'.$data['fd_city_manif'].'</a></i><br>';
} |
Partager