![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/12/2010, 12:23
|
![Avatar de David](http://static.forosdelweb.com/customavatars/avatar98181_4.gif) | Moderador | | Fecha de Ingreso: abril-2005 Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años, 9 meses Puntos: 839 | |
Respuesta: if - transformar valores Podría ser también:
Código PHP:
Ver original$numeros = array(1 => 3987, 2 => 5948, 3 => 1000); if (isset($numeros[$a])) { $a = $numeros[$a]; }
|