bonjour a tous j'ai ecrit un code en php :
<?php
$nbimages=5;
$nomimages[1]="img1.jpg";
$nomimages[2]="img2.jpg";
$nomimages[3]="img3.jpg";
$nomimages[4]="img4.jpg";
$nomimages[5]="img5.jpg";
srand(microtime*1000000);
$affimage=rand(1,$nbimages);
$lien=5;
$lien[1]="http:\\
www.yahoo.com";
$lien[2]="http:\\
www.noos.fr";
$lien[3]="http:\\
www.femsante.com";
$lien[4]="http:\\
www.google.fr";
$lien[5]="http:\\
www.valinfo.com";
srand(microtime*1000000);
$affimage=rand(1,$nbimages);
?>
+
<td rowspan="5" valign="top">
<a href="<? echo $lien[$affimages];?>"><img src="imagesaleatoire/<? echo $nomimages[$affimages];?>" alt="Images aléatoire, femsante" width="144" height="120" border="0"></a></td>
les td + rospan valign sont en vert turquoise
echos + images aleatoire et femsante sont en bleu
et </a> et en vert focncee ou noir
img scr width heit et border sont en violet
j'utilise dreamwear 8