Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/02/2010, 21:28
Avatar de Highlander
Highlander
 
Fecha de Ingreso: junio-2006
Ubicación: Concepción, Chile
Mensajes: 475
Antigüedad: 17 años, 11 meses
Puntos: 4
Respuesta: if + entre numeros

Ah entiendo lei mal, cambia el OR por un &&.

Código PHP:
$num=29;

   if(
$num>=10 && $num<=20) {
   
      echo 
'contenido';
  
   } 
__________________
Ingeniero (E) en Computación e Informática
The last man alone with god.