Tema
:
if + entre numeros
Ver Mensaje Individual
#
5
(
permalink
)
06/02/2010, 21:40
danistrein
Fecha de Ingreso: septiembre-2008
Ubicación: Salta Capital
Mensajes: 550
Antigüedad: 16 años, 6 meses
Puntos: 9
Respuesta: if + entre numeros
Cita:
Iniciado por
Highlander
Ah entiendo lei mal, cambia el OR por un &&.
Código PHP:
$num
=
29
;
if(
$num
>=
10
&&
$num
<=
20
) {
echo
'contenido'
;
}
muchas gracias Highlander, me funciono perfectamente
__________________
Appones.net
-
www.appones.net
danistrein
Ver Perfil
¡Visita mi Sitio!
Buscar todos los Mensajes de danistrein