Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/02/2010, 13:19
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 11 meses
Puntos: 334
Respuesta: switch múltiples

Código PHP:
Ver original
  1. switch($ordenCat){
  2.     case 2:
  3.     case 3:
  4.     case 4:
  5.     case 5:
  6.         ejecutarAccion(1);
  7.         break;


etc...

lee un tutorial al respecto
__________________
More about me...
~ @rhyudek1
~ Github