Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/03/2007, 08:19
Grothias
 
Fecha de Ingreso: marzo-2007
Mensajes: 129
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: Bucle for con 2 condiciones???

Gracias, me funcionó.

Lo hice así.

Código PHP:
$k 0;
for (
$i=1;$i<=2;$i++)
    {
    for (
$j=1;$j<=3;$j++)
        {
        if (
$k==5) {break;}
        
$k++
    }