Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/11/2007, 09:42
Avatar de Seppo
Seppo
 
Fecha de Ingreso: marzo-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 1 mes
Puntos: 17
Re: Imprimir fechas

Podrías hacer algo así

Código PHP:
<?php
$inicio 
strtotime('10-01-2008');
$fin strtotime('15-01-2008');
for (
$fecha $inicio$fecha <= $fin$fecha += 24 60 *60)
{
    echo 
date('Y-m-d'$fecha) , PHP_EOL;
}
?>