Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/02/2012, 10:21
Avatar de ColdFusion
ColdFusion
 
Fecha de Ingreso: octubre-2008
Ubicación: Tocoa, Colon Honduras C.A.
Mensajes: 419
Antigüedad: 15 años, 6 meses
Puntos: 9
Respuesta: Insertar código tras X repeticiones While

Código PHP:
<?php 
$repeticion
=1;
while(
$row mysql_fetch_array($result)){
if (
$repeticion==6) {
    echo 
"<td><table>
    <td><center>$row[marca] <br> $row[nombre]</center></td>
    </tr>
    <tr>
    <td></center><img src='script/resources/decks/$row[imagen].png'></center></td>
    </tr>
    <tr>
    <td><center><input type='radio' name='$row[imagen]'></center></td>
    </tr>
    </table></td>"
;
}
$repeticion++;
}
?>
Espero te sirva ;)