Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/03/2005, 07:36
ratamaster
 
Fecha de Ingreso: octubre-2004
Ubicación: En algún lugar de la República Oriental del Uruguay
Mensajes: 366
Antigüedad: 19 años, 6 meses
Puntos: 0
problema dentro de un while

tengo el siguiente while:

Código PHP:
while(xxx){

if(
$row['CatParentId']!=&& $row['CatId']==or $row['CatId']==or $row['CatId']==3){
          print 
"\n</ul>\n";
       }

Pero yo necesito un while que sea más dinámico, y por lo tanto que no tenga que escribir $row['CatId']==1 or $row['CatId']==2 or $row['CatId']==3, sinó una variable o algo que identifique en este caso los valores1,2 o 3.

gracias.


ps: esto no me sirve:
Código PHP:
$row['CatParentId']!=&& $row['CatId']>