![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/05/2011, 04:26
|
| | Fecha de Ingreso: marzo-2011
Mensajes: 107
Antigüedad: 13 años, 10 meses Puntos: 22 | |
Respuesta: Función fecha http://php.net/manual/es/function.date.php Código PHP: $hoy = date('N');
if($hoy == 1 || $hoy == 4) // lunes = 1, jueves = 4
{
echo 'hoy es' . $hoy .'.';
}
|