impossible de trouver une solution,
ca doit être pourtant sur le bout de mon nez.
qu'en pensez vous ?
merci.
Code : Tout sélectionner
<?php
$a=5;
for($i=0;$i<$a;$i++){
// pour chacun des question on cree un frame
$frameheight1=strval(100/$a);
$frameheight1=$frameheight1.'%';
//echo"$frameheight1";
$frameheight2=strval(100-100/$a);
$frameheight2=$frameheight2.'%';
//echo"$frameheight2";
echo"<FRAMESET ROWS='$frameheight1','$frameheight2' border='1' target=_'self'>";
echo"toto : $i";
////<FRAME SRC='test.php' NAME='fenetre'.$i>";
echo"</FRAMESET>";
}
?>