<script type="text/javascript">
<!--
var myPix = new Array(); //ici je crée mon
tableau deux dimensions
// -->
</script>
<script type="text/javascript">
<!--
myPix[0,'<?=$i?>']='admin/<?=$row['products_image']?>'; //ici je met le nom de l'image dans le tableau
myPix['<?=$i?>',0]='<?=$row['products_id']?>';
// puisque mon tableau est
deux dimensions, je met le id de l'image
// -->
</script>
<script type="text/javascript">
<!--
thisPic = 1
imgCt = myPix.length - 1
function processPreview (){
if(document.images && thisPic > 0){
thisPic--
document.myPicture.src = myPix[0,thisPic];
}
}
function processNext (){
if(document.images && thisPic < imgCt){
thisPic++
document.myPicture.src = myPix[0,thisPic];
;
}
}
// -->
</script>
<table width="141" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><a href="recuperer ici le id de
l'image"><img src="images/cla001.gif" width="141" height="160"
border="0" name="myPicture" ></a></td>
</tr>
</table>
mon pb dans href="",je veux mettre un lien avec le id
"myPix['<?=$i?>',0] "de l'image du genre
"index.php?id=myPix['<?=$i?>',0]"
comment faire ????
merci d'avance