Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/11/2013, 17:06
Avatar de DaHaSaMo
DaHaSaMo
 
Fecha de Ingreso: octubre-2011
Mensajes: 9
Antigüedad: 12 años, 6 meses
Puntos: 0
Respuesta: Problema con Ciclos PHP

Cambié esto:

if(Id2 == Id2Ult )
{
Id2New = Id2Prim ;
}


Por esto:

if(Id2 == $fila2['Id2'])
{
Id2New = Id2Prim ;
}


Y ahora si funciona correctamente, pero no se que tan bueno sea.