Bonjour,
j'aimerai rafraichir ma page grâce à un bouton
Merci
aff_webcam_pays.php?pays='.$affichage['nom'].
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><?php
/*On apelle la variable*/
$choix_pays=$_GET['pays'];
/*Requete mysql*/
$info_pays = mysql_query('SELECT DISTINCT nom,drapeaux FROM pays WHERE pays.nom="'.$choix_pays.'"');
//Avec cette boucle, on affiche le nom du pays
while ($affichage = mysql_fetch_array($info_pays) )
{
echo "<br/>";
echo '<li class="pays"><img src="../images/pt_logo_webcam_01.png" /> Vous êtes ici <img src="../images/fleche_01.png" /> Webcam <img src="../images/fleche_01.png" /> '.$choix_pays.'';
echo ' <img src="../drapeaux_pt/'.$affichage['drapeaux'].'" width="16" height="11"></li>';
echo "<br/>";
echo '<li class="pays">Pour agrandir la webcam, cliquez sur l\'image</li>';
echo "<br/>";
echo "<br/>";
}
?></td>
<td class="refresh">
<a href="javascript:history.go(-1);">[ Retour ]</a><br />
[ Rafraîchir la page ]</td>
</tr>
</table>
Merci
Code : Tout sélectionner
<td class="refresh">
<a href="javascript:history.go(-1);">[ Retour ]</a><br />
<a href="javascript:location.reload()"> [ Rafraîchir la page ]</a></td>